File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libraries/ESP32/examples/ArduinoStackSize Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 (" \n Setup() - Free Stack Space: %zu " , uxTaskGetStackHighWaterMark (NULL ));
27+ Serial.printf (" \n Setup() - Free Stack Space: %u " , uxTaskGetStackHighWaterMark (NULL ));
2828}
2929
3030void loop () {
3131 delay (1000 );
3232
3333 // Print unused stack for the task that is running loop() - the same as for setup()
34- Serial.printf (" \n Loop() - Free Stack Space: %zu " , uxTaskGetStackHighWaterMark (NULL ));
34+ Serial.printf (" \n Loop() - Free Stack Space: %u " , uxTaskGetStackHighWaterMark (NULL ));
3535}
You can’t perform that action at this time.
0 commit comments