aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quantum/led_matrix.c1
-rw-r--r--quantum/rgb_matrix.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/quantum/led_matrix.c b/quantum/led_matrix.c
index e7e933e1d..9b6151604 100644
--- a/quantum/led_matrix.c
+++ b/quantum/led_matrix.c
@@ -286,6 +286,7 @@ static void led_task_timers(void) {
286static void led_task_sync(void) { 286static void led_task_sync(void) {
287 // next task 287 // next task
288 if (led_update_eeprom) eeconfig_update_led_matrix(); 288 if (led_update_eeprom) eeconfig_update_led_matrix();
289 led_update_eeprom = false;
289 if (sync_timer_elapsed32(g_led_timer) >= LED_MATRIX_LED_FLUSH_LIMIT) led_task_state = STARTING; 290 if (sync_timer_elapsed32(g_led_timer) >= LED_MATRIX_LED_FLUSH_LIMIT) led_task_state = STARTING;
290} 291}
291 292
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c
index 3c5ddba93..09803c72a 100644
--- a/quantum/rgb_matrix.c
+++ b/quantum/rgb_matrix.c
@@ -321,6 +321,7 @@ static void rgb_task_timers(void) {
321static void rgb_task_sync(void) { 321static void rgb_task_sync(void) {
322 // next task 322 // next task
323 if (rgb_update_eeprom) eeconfig_update_rgb_matrix(); 323 if (rgb_update_eeprom) eeconfig_update_rgb_matrix();
324 rgb_update_eeprom = false;
324 if (sync_timer_elapsed32(g_rgb_timer) >= RGB_MATRIX_LED_FLUSH_LIMIT) rgb_task_state = STARTING; 325 if (sync_timer_elapsed32(g_rgb_timer) >= RGB_MATRIX_LED_FLUSH_LIMIT) rgb_task_state = STARTING;
325} 326}
326 327