From 8963c3bed035a31619b2034622f45f5b97b696b8 Mon Sep 17 00:00:00 2001 From: Tomasz bla Fortuna Date: Sun, 25 Jul 2021 18:05:12 +0200 Subject: [PATCH] Let the LED chip settle a bit before waking it from the bootloader. (#42) At least for one person that helps to reliably get the LEDs working without disconnecting/reconnecting the power to the board multiple times. Co-authored-by: Tomasz bla Fortuna --- keyboards/annepro2/annepro2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/keyboards/annepro2/annepro2.c b/keyboards/annepro2/annepro2.c index acfab3e07fc..cdca573d53b 100644 --- a/keyboards/annepro2/annepro2.c +++ b/keyboards/annepro2/annepro2.c @@ -51,7 +51,11 @@ void OVERRIDE keyboard_pre_init_kb(void) { #endif // Start LED UART sdStart(&SD0, &ledUartInitConfig); + /* Let the LED chip settle a bit before switching the mode. + * That helped at least one person. */ + wait_ms(15); sdWrite(&SD0, ledMcuWakeup, 11); + // wait to receive response from wakeup wait_ms(15);