summaryrefslogtreecommitdiffstats
path: root/tmk_core/common
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2018-05-08 18:13:09 -0400
committerJack Humbert <jack.humb@gmail.com>2018-05-08 18:13:09 -0400
commite7d4bc52911e957b364eceb5762e79cef63a7737 (patch)
tree2ba12248371c868551df6b038fcf9d05b699bcec /tmk_core/common
parentc6ea96ab431806b8e610e325ace86fd7ef42a996 (diff)
enable eeprom for rgb matrix
Diffstat (limited to 'tmk_core/common')
-rw-r--r--tmk_core/common/eeconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/eeconfig.c b/tmk_core/common/eeconfig.c
index 91c18e2e6e..3e5987ee3b 100644
--- a/tmk_core/common/eeconfig.c
+++ b/tmk_core/common/eeconfig.c
@@ -20,7 +20,7 @@ void eeconfig_init(void)
#ifdef AUDIO_ENABLE
eeprom_update_byte(EECONFIG_AUDIO, 0xFF); // On by default
#endif
-#ifdef RGBLIGHT_ENABLE
+#if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE)
eeprom_update_dword(EECONFIG_RGBLIGHT, 0);
#endif
#ifdef STENO_ENABLE