Skip to content

Commit d0c8651

Browse files
committed
Apply suggestions
1 parent e44cec4 commit d0c8651

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/ESP32/examples/ArduinoStackSize/ArduinoStackSize.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ void setup() {
2424
Serial.printf("Arduino Stack was set to %zu bytes", getArduinoLoopTaskStackSize());
2525

2626
// Print unused stack for the task that is running setup()
27-
Serial.printf("\nSetup() - Free Stack Space: %zu", uxTaskGetStackHighWaterMark(NULL));
27+
Serial.printf("\nSetup() - Free Stack Space: %u", uxTaskGetStackHighWaterMark(NULL));
2828
}
2929

3030
void loop() {
3131
delay(1000);
3232

3333
// Print unused stack for the task that is running loop() - the same as for setup()
34-
Serial.printf("\nLoop() - Free Stack Space: %zu", uxTaskGetStackHighWaterMark(NULL));
34+
Serial.printf("\nLoop() - Free Stack Space: %u", uxTaskGetStackHighWaterMark(NULL));
3535
}

0 commit comments

Comments
 (0)