summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/avr
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-06-21 12:53:21 -0400
committerGitHub <noreply@github.com>2016-06-21 12:53:21 -0400
commit80c87054193b9243670aeb85adefbe1aa6c0fda0 (patch)
tree9ee304b9ca913328f1ea45500b34410f0d53ccfe /tmk_core/common/avr
parenta8375fa15a6ca9285eb15ae89bcda898349e06f8 (diff)
reduces rgblight warnings, integrates completely (#428)
Diffstat (limited to 'tmk_core/common/avr')
-rw-r--r--tmk_core/common/avr/eeconfig.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tmk_core/common/avr/eeconfig.c b/tmk_core/common/avr/eeconfig.c
index c5391f5cf5..656938fb33 100644
--- a/tmk_core/common/avr/eeconfig.c
+++ b/tmk_core/common/avr/eeconfig.c
@@ -14,7 +14,10 @@ void eeconfig_init(void)
eeprom_update_byte(EECONFIG_BACKLIGHT, 0);
#endif
#ifdef AUDIO_ENABLE
- eeprom_update_byte(EECONFIG_AUDIO, 0xFF); // On by default
+ eeprom_update_byte(EECONFIG_AUDIO, 0xFF); // On by default
+#endif
+#ifdef RGBLIGHT_ENABLE
+ eeprom_update_dword(EECONFIG_RGBLIGHT, 0);
#endif
}