summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2023-04-03 14:41:26 +1000
committerfauxpark <fauxpark@gmail.com>2023-04-03 14:41:26 +1000
commitbc77e79ed8d985184753ca9fc0c45b366c0da321 (patch)
tree07d08953a14f4f77ccb868cb7bc1df67af151600 /keyboards/handwired
parent4834c01f143f80ff8725da7917d746c74f2d88df (diff)
parent2d7240f7303bcf5704750480ee619eca84312cd9 (diff)
Merge remote-tracking branch 'upstream/master' into develop
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/onekey/keymaps/adc/keymap.c2
-rw-r--r--keyboards/handwired/onekey/keymaps/hardware_id/keymap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/handwired/onekey/keymaps/adc/keymap.c b/keyboards/handwired/onekey/keymaps/adc/keymap.c
index f9302a42b2..57125e01ed 100644
--- a/keyboards/handwired/onekey/keymaps/adc/keymap.c
+++ b/keyboards/handwired/onekey/keymaps/adc/keymap.c
@@ -19,7 +19,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
char buffer[50];
sprintf(buffer, "ADC:%u\n", val);
#ifdef CONSOLE_ENABLE
- printf(buffer);
+ uprintf("%s", buffer);
#else
send_string(buffer);
#endif
diff --git a/keyboards/handwired/onekey/keymaps/hardware_id/keymap.c b/keyboards/handwired/onekey/keymaps/hardware_id/keymap.c
index bcec8b3ca1..018b9215f8 100644
--- a/keyboards/handwired/onekey/keymaps/hardware_id/keymap.c
+++ b/keyboards/handwired/onekey/keymaps/hardware_id/keymap.c
@@ -17,7 +17,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
char buffer[100];
sprintf(buffer, "ID:%lu:%lu:%lu:%lu\n", id.data[0], id.data[1], id.data[2], id.data[3]);
#ifdef CONSOLE_ENABLE
- printf(buffer);
+ uprintf("%s", buffer);
#else
send_string(buffer);
#endif