diff options
author | Christopher Browne <cbbrowne@ca.afilias.info> | 2016-06-21 17:54:12 -0400 |
---|---|---|
committer | Christopher Browne <cbbrowne@ca.afilias.info> | 2016-06-21 17:54:12 -0400 |
commit | ee3c7892ad585e2e702d8975420d25ae052d97bb (patch) | |
tree | 71c23600099fe5670482f8900d787dbc7c9551b2 /tmk_core/common/avr/eeconfig.c | |
parent | 2d314810086684883329af730d8f5e8ecd0506b0 (diff) | |
parent | 1a0bac8bccf0e156d2f3c5f14a7214f9677b6370 (diff) |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'tmk_core/common/avr/eeconfig.c')
-rw-r--r-- | tmk_core/common/avr/eeconfig.c | 5 |
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 } |