From 71c09d8f66445b029620e1f97602d0b2ca5d15c9 Mon Sep 17 00:00:00 2001 From: "rudi ;-)" Date: Sun, 2 Oct 2016 02:04:09 +0200 Subject: [PATCH] Fix stack overflow message format Poorly formatted message for stack overflow for task. Closes #36 --- components/freertos/panic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/freertos/panic.c b/components/freertos/panic.c index b575022369..9400867356 100644 --- a/components/freertos/panic.c +++ b/components/freertos/panic.c @@ -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[]={