]> granicus.if.org Git - esp-idf/commitdiff
Fix stack overflow message format
authorrudi ;-) <ESP32DE@users.noreply.github.com>
Sun, 2 Oct 2016 00:04:09 +0000 (02:04 +0200)
committerAngus Gratton <angus@espressif.com>
Mon, 10 Oct 2016 20:56:08 +0000 (07:56 +1100)
Poorly formatted message for stack overflow for task. Closes #36

components/freertos/panic.c

index b575022369106c8e2af68585036a1018c278ec8d..94008673563de8c0ae82887a8a992f4a36774abc 100644 (file)
@@ -79,9 +79,9 @@ inline static void panicPutDec(int a) { }
 int xPortGetCoreID();
 
 void  __attribute__((weak)) vApplicationStackOverflowHook( TaskHandle_t xTask, signed char *pcTaskName ) {
-       panicPutStr("***ERROR*** A stack overflow in task");
+       panicPutStr("***ERROR*** A stack overflow in task ");
        panicPutStr((char*)pcTaskName);
-       panicPutStr("has been detected.\r\n");
+       panicPutStr(" has been detected.\r\n");
 }
 
 static const char *edesc[]={