serial_dump: include hex prefix
This commit is contained in:
parent
bff79d290a
commit
700825ff76
|
|
@ -998,9 +998,9 @@ void __attribute__((noinline)) serial_dump_and_reset(dump_crash_reason reason)
|
||||||
SERIAL_ECHOLNPGM("D23 - emergency serial dump");
|
SERIAL_ECHOLNPGM("D23 - emergency serial dump");
|
||||||
SERIAL_ECHOPGM("error: ");
|
SERIAL_ECHOPGM("error: ");
|
||||||
MYSERIAL.print((uint8_t)reason, DEC);
|
MYSERIAL.print((uint8_t)reason, DEC);
|
||||||
MYSERIAL.print(" ");
|
SERIAL_ECHOPGM(" 0x");
|
||||||
MYSERIAL.print(pc, HEX);
|
MYSERIAL.print(pc, HEX);
|
||||||
MYSERIAL.print(" ");
|
SERIAL_ECHOPGM(" 0x");
|
||||||
MYSERIAL.println(sp, HEX);
|
MYSERIAL.println(sp, HEX);
|
||||||
|
|
||||||
print_mem(0, RAMEND+1, dcode_mem_t::sram);
|
print_mem(0, RAMEND+1, dcode_mem_t::sram);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue