summaryrefslogtreecommitdiffstats
path: root/quantum/logging
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-07-07 14:14:09 +0200
committerGitHub <noreply@github.com>2022-07-07 14:14:09 +0200
commit643f6367a19649a0f5af6d43f2ed7f0e93b21f70 (patch)
treeb51ba73169e3558dc724a25d995ecbd912c336bf /quantum/logging
parent8224f62806b66f0825b68fd8c00436ee57a28e9a (diff)
[Fix] Patches after printf library update (#17584)
* Add missing '(' to print_bin_reverse32 declaration * Fix insufficient character buffers on satisfaction75 * Remove \0 character in format string and use corrected offset math instead on rocketboard 16 * Replace snprintf_ with snprintf for djinn * Explicitly ignore format checks for tracktyl manuform that uses %b specifier * Print properly escaped version string in command.c, as PRODUCT or other defines can contain constructs like 'Vendor keyboard 66%' which will be interpreted as a format specifier
Diffstat (limited to 'quantum/logging')
-rw-r--r--quantum/logging/print.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/logging/print.h b/quantum/logging/print.h
index 5fbf189505..4c4195de50 100644
--- a/quantum/logging/print.h
+++ b/quantum/logging/print.h
@@ -100,7 +100,7 @@ void print_set_sendchar(sendchar_func_t func);
#define print_bin32(i) IGNORE_FORMAT_WARNING(xprintf("%032lb", i))
#define print_bin_reverse8(i) IGNORE_FORMAT_WARNING(xprintf("%08b", bitrev(i)))
#define print_bin_reverse16(i) IGNORE_FORMAT_WARNING(xprintf("%016b", bitrev16(i)))
-#define print_bin_reverse32(i) IGNORE_FORMAT_WARNINGxprintf("%032lb", bitrev32(i)))
+#define print_bin_reverse32(i) IGNORE_FORMAT_WARNING(xprintf("%032lb", bitrev32(i)))
/* print value utility */
#define print_val_dec(v) xprintf(#v ": %u\n", v)
#define print_val_decs(v) xprintf(#v ": %d\n", v)