From 91a125baebd5e1e50be62b7043285987c4c344a4 Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 7 Feb 2020 15:25:57 +0900 Subject: [PATCH] lufa: Fix console_putc buffering before host and hid_listen become ready --- tmk_core/protocol/lufa/lufa.c | 55 +++++++++++++++++++++++++++++++---- 1 file changed, 49 insertions(+), 6 deletions(-) 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<