diff options
author | Nick Brassel <nick@tzarc.org> | 2021-06-22 09:37:28 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 09:37:28 +1000 |
commit | 0e3ae2cde033969507355abcb85f5f7aba2ae978 (patch) | |
tree | 2009d330f77d4fd77f1cf200d8fb92dff213f3c3 /quantum/led_matrix.c | |
parent | a89eaceb59d0133013a7638b3f38f0104e0d6c9f (diff) | |
download | qmk_firmware-0e3ae2cde033969507355abcb85f5f7aba2ae978.tar.gz qmk_firmware-0e3ae2cde033969507355abcb85f5f7aba2ae978.zip |
Skip EEPROM writes once done. (#13293)
Diffstat (limited to 'quantum/led_matrix.c')
-rw-r--r-- | quantum/led_matrix.c | 1 |
1 files changed, 1 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) { | |||
286 | static void led_task_sync(void) { | 286 | static 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 | ||