summaryrefslogtreecommitdiff
path: root/keyboards/annepro2/annepro2.c
diff options
context:
space:
mode:
authorDarkhan <darkhanu@gmail.com>2023-03-12 10:23:39 +0000
committerGitHub <noreply@github.com>2023-03-12 21:23:39 +1100
commita5e7390419a23c6db9cb62810f8ff1645d20b6a3 (patch)
tree0f4613f9e9e347e528b5f63a2980b308e764795e /keyboards/annepro2/annepro2.c
parentbcfe67883e1acf251d86d22691fb34c266228f6c (diff)
[keyboard] Prevent LED flicker when connecting AnnePro 2 (#19709)
Diffstat (limited to 'keyboards/annepro2/annepro2.c')
-rw-r--r--keyboards/annepro2/annepro2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/keyboards/annepro2/annepro2.c b/keyboards/annepro2/annepro2.c
index e1292b3517..170eb8c175 100644
--- a/keyboards/annepro2/annepro2.c
+++ b/keyboards/annepro2/annepro2.c
@@ -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();