Fixed warning caused by missing cast in esp-idf's panic patch

This commit is contained in:
Alex Duchesne 2021-03-14 12:43:31 -04:00
parent d567f8de44
commit 4d090da111

View File

@ -24,7 +24,7 @@
- ets_printf("abort() was called at PC 0x%08x on core %d\r\n", (intptr_t)__builtin_return_address(0) - 3, xPortGetCoreID());
-#endif
+ panicPutStr("abort() was called at PC 0x");
+ panicPutHex(__builtin_return_address(0) - 3);
+ panicPutHex((intptr_t)__builtin_return_address(0) - 3);
+ panicPutStr(" on core ");
+ panicPutDec(xPortGetCoreID());
+ panicPutStr("\r\n");