aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--klippy/pyhelper.c2
1 files changed, 1 insertions, 1 deletions
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 *