Fixed warning caused by missing cast in esp-idf's panic patch
This commit is contained in:
parent
d567f8de44
commit
4d090da111
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user