mirror of
https://github.com/andreili/klipper.git
synced 2025-08-24 03:44:06 +02:00
pyhelper: Fix GETHEX() macro used in dump_string() debugging
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
fc24aa041b
commit
b6f24e78ac
@ -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 *
|
||||
|
Loading…
x
Reference in New Issue
Block a user