summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/avr
diff options
context:
space:
mode:
authorChristopher Browne <cbbrowne@ca.afilias.info>2016-06-21 23:54:12 +0200
committerChristopher Browne <cbbrowne@ca.afilias.info>2016-06-21 23:54:12 +0200
commitee3c7892ad585e2e702d8975420d25ae052d97bb (patch)
tree71c23600099fe5670482f8900d787dbc7c9551b2 /tmk_core/common/avr
parent2d314810086684883329af730d8f5e8ecd0506b0 (diff)
parent1a0bac8bccf0e156d2f3c5f14a7214f9677b6370 (diff)
downloadqmk_firmware-ee3c7892ad585e2e702d8975420d25ae052d97bb.tar.gz
qmk_firmware-ee3c7892ad585e2e702d8975420d25ae052d97bb.tar.xz
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
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 c5391f5cf..656938fb3 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
}