From 003697ee0fb83a262423a7002896284dfcf1b79e Mon Sep 17 00:00:00 2001 From: David Forrest Date: Fri, 13 Jun 2014 22:43:09 -0400 Subject: [PATCH] gcode_parse.c: Debug S with serwrite_int32. --- gcode_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);