summaryrefslogtreecommitdiffstats
path: root/keyboards/annepro2/annepro2.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-06-10 03:26:21 +0000
committerQMK Bot <hello@qmk.fm>2022-06-10 03:26:21 +0000
commited15a579a720c03c614e4371b0b76204ae0f5662 (patch)
treede38a4edbccd8e021ef03a57fd6691bb9d7e15ce /keyboards/annepro2/annepro2.c
parentc84d058c8b265d23d793cbf0044b2cdd0ae0bc0b (diff)
parent9da1b86d71204ff0a1867730faf97cc88da28baf (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/annepro2/annepro2.c')
-rw-r--r--keyboards/annepro2/annepro2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/annepro2/annepro2.c b/keyboards/annepro2/annepro2.c
index d5639be3ae..4edafe0702 100644
--- a/keyboards/annepro2/annepro2.c
+++ b/keyboards/annepro2/annepro2.c
@@ -106,6 +106,7 @@ void keyboard_post_init_kb(void) {
#ifdef RGB_MATRIX_ENABLE
ap2_led_enable();
+ ap2_led_set_manual_control(1);
#endif
keyboard_post_init_user();
@@ -129,7 +130,7 @@ void matrix_scan_kb() {
if(rgb_row_changed[current_rgb_row])
{
rgb_row_changed[current_rgb_row] = 0;
- ap2_led_mask_set_row(current_rgb_row);
+ ap2_led_colors_set_row(current_rgb_row);
}
current_rgb_row = (current_rgb_row + 1) % NUM_ROW;
#endif