From 14de3a38152dffadda34373fb91ed20dd4b4cdcd Mon Sep 17 00:00:00 2001 From: Jeroen Domburg Date: Mon, 26 Sep 2016 11:18:43 +0800 Subject: [PATCH] Fix a spelling mistake in panic message, add carriage return to stack canary message --- 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 06ff86c37..b57502236 100644 --- a/components/freertos/panic.c +++ b/components/freertos/panic.c @@ -81,7 +81,7 @@ int xPortGetCoreID(); void __attribute__((weak)) vApplicationStackOverflowHook( TaskHandle_t xTask, signed char *pcTaskName ) { panicPutStr("***ERROR*** A stack overflow in task"); panicPutStr((char*)pcTaskName); - panicPutStr("has been detected.\n"); + panicPutStr("has been detected.\r\n"); } static const char *edesc[]={ @@ -160,7 +160,7 @@ void xt_unhandled_exception(XtExcFrame *frame) { panicPutStr("Guru Meditation Error of type "); x=regs[20]; if (x<40) panicPutStr(edesc[x]); else panicPutStr("Unknown"); - panicPutStr(" occured on core "); + panicPutStr(" occurred on core "); panicPutDec(xPortGetCoreID()); if (inOCDMode()) { panicPutStr(" at pc=");