1
0
Fork 0

[keyboard] Prevent LED flicker when connecting AnnePro 2 (#19709)

This commit is contained in:
Darkhan 2023-03-12 10:23:39 +00:00 committed by GitHub
parent bcfe67883e
commit a5e7390419
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 7 deletions

View file

@ -101,11 +101,9 @@ void keyboard_post_init_kb(void) {
// loop to clear out receive buffer from ble wakeup
while (!sdGetWouldBlock(&SD1)) sdGet(&SD1);
ap2_led_get_status();
#ifdef RGB_MATRIX_ENABLE
ap2_led_enable();
ap2_led_set_manual_control(1);
ap2_led_enable();
#endif
keyboard_post_init_user();