@@ -167,17 +167,17 @@ static void postmortem_report(uint32_t sp_dump) {
167167 cut_here ();
168168
169169 if (s_pm.panic_line ) {
170- ets_printf_P (PSTR (" \n Panic %S :%d %S " ), s_pm.panic_file , s_pm.panic_line , s_pm.panic_func );
170+ ets_printf_P (PSTR (" \n Panic %s :%d %s " ), s_pm.panic_file , s_pm.panic_line , s_pm.panic_func );
171171 if (s_pm.panic_what ) {
172- ets_printf_P (PSTR (" : Assertion '%S ' failed." ), s_pm.panic_what );
172+ ets_printf_P (PSTR (" : Assertion '%s ' failed." ), s_pm.panic_what );
173173 }
174174 ets_putc (' \n ' );
175175 }
176176 else if (s_pm.panic_file ) {
177- ets_printf_P (PSTR (" \n Panic %S \n " ), s_pm.panic_file );
177+ ets_printf_P (PSTR (" \n Panic %s \n " ), s_pm.panic_file );
178178 }
179179 else if (s_pm.unhandled_exception ) {
180- ets_printf_P (PSTR (" \n Unhandled C++ exception: %S \n " ), s_pm.unhandled_exception );
180+ ets_printf_P (PSTR (" \n Unhandled C++ exception: %s \n " ), s_pm.unhandled_exception );
181181 }
182182 else if (s_pm.abort_called ) {
183183 ets_printf_P (PSTR (" \n Abort called\n " ));
@@ -292,7 +292,7 @@ static void postmortem_report(uint32_t sp_dump) {
292292 // Use cap-X formatting to ensure the standard EspExceptionDecoder doesn't match the address
293293 if (_umm_last_fail_alloc.addr ) {
294294#if defined(DEBUG_ESP_OOM)
295- ets_printf_P (PSTR (" \n last failed alloc call: 0x%08X(%d), File: %S :%d\n " ),
295+ ets_printf_P (PSTR (" \n last failed alloc call: 0x%08X(%d), File: %s :%d\n " ),
296296 (uint32_t )_umm_last_fail_alloc.addr ,
297297 _umm_last_fail_alloc.size ,
298298 (_umm_last_fail_alloc.file ) ? _umm_last_fail_alloc.file : PSTR (" ??" ),
0 commit comments