Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

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
2 people authored and shearn89 committed Feb 16, 2022
1 parent 8f13a27 commit 8da21c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keyboards/annepro2/annepro2.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ void OVERRIDE keyboard_pre_init_kb(void) {
void OVERRIDE keyboard_post_init_kb(void) {
// 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
Expand Down

0 comments on commit 8da21c4

Please sign in to comment.