From 8ee2612ebb3b29e5b41a17ff42380712f3cee50d Mon Sep 17 00:00:00 2001 From: Roxy-3D Date: Thu, 23 Mar 2017 15:57:57 -0500 Subject: [PATCH] The hex nibble routine can print again! The code to print a hex nibble got broke. SERIAL_ECHO( (char) ) isn't suitable for its use. --- Marlin/hex_print_routines.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Marlin/hex_print_routines.cpp b/Marlin/hex_print_routines.cpp index 19563ccb8..cc69d7120 100644 --- a/Marlin/hex_print_routines.cpp +++ b/Marlin/hex_print_routines.cpp @@ -27,10 +27,10 @@ #include "hex_print_routines.h" void prt_hex_nibble(uint8_t n) { - if (n <= 9) - SERIAL_ECHO(n); + if (n <= 9) + SERIAL_CHAR('0'+n); else - SERIAL_ECHO((char)('A' + n - 10)); + SERIAL_CHAR('A' + n - 10); delay(3); }