From: tmk Date: Fri, 7 Feb 2020 06:25:57 +0000 (+0900) Subject: lufa: Fix console_putc X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=91a125baebd5e1e50be62b7043285987c4c344a4;p=max%2Ftmk_keyboard.git lufa: Fix console_putc buffering before host and hid_listen become ready --- diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c index 32bc6981..ac05e75b 100644 --- a/tmk_core/protocol/lufa/lufa.c +++ b/tmk_core/protocol/lufa/lufa.c @@ -120,20 +120,35 @@ static bool console_is_ready(void) static bool console_putc(uint8_t c) { - if (!console_is_ready()) - goto EXIT; - // return immediately if called while interrupt if (!(SREG & (1<