summaryrefslogtreecommitdiffstats
path: root/keyboards/annepro2/annepro2.c
diff options
context:
space:
mode:
authorjpe230 <pablin.123.ra@gmail.com>2022-10-08 16:04:16 -0500
committerGitHub <noreply@github.com>2022-10-08 22:04:16 +0100
commit85dc473faafbb9370abbd69bb0c08da3dea87386 (patch)
treef7c3132c41bf892b24bdebc795c4dafce1a0b8d6 /keyboards/annepro2/annepro2.c
parent86938fd958836e86cced081f46e8901bad245df8 (diff)
AnnePro2: Adjust RGB flushing (#18640)
Diffstat (limited to 'keyboards/annepro2/annepro2.c')
-rw-r--r--keyboards/annepro2/annepro2.c10
1 files changed, 0 insertions, 10 deletions
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();
}