The %x formatting specifier is broken, producing unexpected output. This appears to be caused by an attempt to write the string "0x" to before formatting the hexadecimal integer,
case 'x':
serial_writestr_P(str_ox);
if (j == 4)
serwrite_hex32(va_arg(args, uint32_t));
...
Commenting the first serial_writestr_P() line causes things to behave as they
should.
The %x formatting specifier is broken, producing unexpected output. This appears to be caused by an attempt to write the string "0x" to before formatting the hexadecimal integer,
Commenting the first serial_writestr_P() line causes things to behave as they should.