diff options
| -rw-r--r-- | quantum/rgblight.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c index 23420ddd8..cf2666eb4 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c | |||
| @@ -128,7 +128,9 @@ uint32_t eeconfig_read_rgblight(void) { | |||
| 128 | } | 128 | } |
| 129 | void eeconfig_update_rgblight(uint32_t val) { | 129 | void eeconfig_update_rgblight(uint32_t val) { |
| 130 | #ifdef __AVR__ | 130 | #ifdef __AVR__ |
| 131 | if (eeconfig_read_rgblight() != val) { | ||
| 131 | eeprom_update_dword(EECONFIG_RGBLIGHT, val); | 132 | eeprom_update_dword(EECONFIG_RGBLIGHT, val); |
| 133 | } | ||
| 132 | #endif | 134 | #endif |
| 133 | } | 135 | } |
| 134 | void eeconfig_update_rgblight_default(void) { | 136 | void eeconfig_update_rgblight_default(void) { |
