From 6f30b402a285ddecce9b6f5b002a649f775225d2 Mon Sep 17 00:00:00 2001 From: skullY Date: Mon, 4 May 2020 09:25:44 -0700 Subject: Revert "Fix conflicting types for 'tfp_printf' (#8269)" This reverts commit e17b55e33ad5b3dcefcf7b828ac99aeb2daeeae2. --- tmk_core/protocol/chibios/usb_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tmk_core/protocol/chibios/usb_main.c') diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c index 66985b9de8..ecc83d9ecc 100644 --- a/tmk_core/protocol/chibios/usb_main.c +++ b/tmk_core/protocol/chibios/usb_main.c @@ -796,7 +796,10 @@ int8_t sendchar(uint8_t c) { } #endif /* CONSOLE_ENABLE */ -void _putchar(char character) { sendchar(character); } +void sendchar_pf(void *p, char c) { + (void)p; + sendchar((uint8_t)c); +} #ifdef RAW_ENABLE void raw_hid_send(uint8_t *data, uint8_t length) { -- cgit v1.2.3