summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
Diffstat (limited to 'quantum')
-rw-r--r--quantum/rgblight.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c
index 23420ddd87..cf2666eb4b 100644
--- a/quantum/rgblight.c
+++ b/quantum/rgblight.c
@@ -128,7 +128,9 @@ uint32_t eeconfig_read_rgblight(void) {
}
void eeconfig_update_rgblight(uint32_t val) {
#ifdef __AVR__
+ if (eeconfig_read_rgblight() != val) {
eeprom_update_dword(EECONFIG_RGBLIGHT, val);
+ }
#endif
}
void eeconfig_update_rgblight_default(void) {