diff --git a/gcode_parse.c b/gcode_parse.c index 153e4e3..fc7c2bf 100644 --- a/gcode_parse.c +++ b/gcode_parse.c @@ -173,7 +173,7 @@ void gcode_parse_char(uint8_t c) { else next_target.S = decfloat_to_int(&read_digit, 1); if (DEBUG_ECHO && (debug_flags & DEBUG_ECHO)) - serwrite_uint16(next_target.S); + serwrite_int32(next_target.S); break; case 'P': next_target.P = decfloat_to_int(&read_digit, 1);