summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2018-05-09 00:13:09 +0200
committerJack Humbert <jack.humb@gmail.com>2018-05-09 00:13:09 +0200
commite7d4bc52911e957b364eceb5762e79cef63a7737 (patch)
tree2ba12248371c868551df6b038fcf9d05b699bcec
parentc6ea96ab431806b8e610e325ace86fd7ef42a996 (diff)
downloadqmk_firmware-e7d4bc52911e957b364eceb5762e79cef63a7737.tar.gz
qmk_firmware-e7d4bc52911e957b364eceb5762e79cef63a7737.tar.xz
enable eeprom for rgb matrix
-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 91c18e2e6..3e5987ee3 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