Skip to content

Commit

Permalink
Let the LED chip settle a bit before waking it from the bootloader. (q…
Browse files Browse the repository at this point in the history
…mk#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 <bla@thera.be>
  • Loading branch information
blaa and Tomasz bla Fortuna authored Jul 25, 2021
1 parent 082600f commit be0bc3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions keyboards/annepro2/annepro2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit be0bc3d

Please sign in to comment.