Skip to content

Commit 712223f

Browse files
committed
ruduce compile warnings.
1 parent 764cbda commit 712223f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/boards/SAMD21/FreeRTOSVariant.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ extern "C"
4646
// called on full stack
4747
void vApplicationStackOverflowHook(TaskHandle_t xTask, char *pcTaskName)
4848
{
49-
49+
(void)xTask;
5050
Serial.print("Stack Overflow: ");
5151
Serial.println(pcTaskName);
5252

src/boards/SAMD51/FreeRTOSVariant.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extern "C"
4747
// called on full stack
4848
void vApplicationStackOverflowHook(TaskHandle_t xTask, char *pcTaskName)
4949
{
50-
50+
(void)xTask;
5151
Serial.print("Stack Overflow: ");
5252
Serial.println(pcTaskName);
5353

0 commit comments

Comments
 (0)