From b6f24e78ac2afd736102b8730b9addf53f80dc3b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 17 May 2017 01:12:30 -0400 Subject: [PATCH] pyhelper: Fix GETHEX() macro used in dump_string() debugging Signed-off-by: Kevin O'Connor --- klippy/pyhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/pyhelper.c b/klippy/pyhelper.c index 410fd764..6fa4817f 100644 --- a/klippy/pyhelper.c +++ b/klippy/pyhelper.c @@ -69,7 +69,7 @@ report_errno(char *where, int rc) } // Return a hex character for a given number -#define GETHEX(x) ((x) < 10 ? '0' + (x) : 'e' + (x) - 10) +#define GETHEX(x) ((x) < 10 ? '0' + (x) : 'a' + (x) - 10) // Translate a binary string into an ASCII string with escape sequences char *