From 85dc473faafbb9370abbd69bb0c08da3dea87386 Mon Sep 17 00:00:00 2001 From: jpe230 Date: Sat, 8 Oct 2022 16:04:16 -0500 Subject: AnnePro2: Adjust RGB flushing (#18640) --- keyboards/annepro2/annepro2.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'keyboards/annepro2/annepro2.c') diff --git a/keyboards/annepro2/annepro2.c b/keyboards/annepro2/annepro2.c index 4edafe0702..9e17cbcf77 100644 --- a/keyboards/annepro2/annepro2.c +++ b/keyboards/annepro2/annepro2.c @@ -46,7 +46,6 @@ ble_capslock_t ble_capslock = {._dummy = {0}, .caps_lock = false}; #ifdef RGB_MATRIX_ENABLE static uint8_t led_enabled = 1; -static uint8_t current_rgb_row = 0; #endif void bootloader_jump(void) { @@ -125,15 +124,6 @@ void matrix_scan_kb() { proto_consume(&proto, byte); } - #ifdef RGB_MATRIX_ENABLE - /* If there's data ready to be sent to LED MCU - send it. */ - if(rgb_row_changed[current_rgb_row]) - { - rgb_row_changed[current_rgb_row] = 0; - ap2_led_colors_set_row(current_rgb_row); - } - current_rgb_row = (current_rgb_row + 1) % NUM_ROW; - #endif matrix_scan_user(); } -- cgit v1.2.3