diff options
author | Florian Didron <fdidron@users.noreply.github.com> | 2019-04-23 11:08:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 11:08:31 +0900 |
commit | 9f37354851bf4ee16643ca8dce718529ac999ba9 (patch) | |
tree | 64f4e55abc525f4447e5add932d87ee6ec9ad2d3 /tmk_core | |
parent | f93b7b53b7c46e6a8e4ea5e65659e407c372ca8c (diff) | |
parent | bd66bf5f8f46628136e9da9db9609a6204c7e6cb (diff) |
Merge pull request #24 from zsa/fix/rgb_matrix_init
Fix RGB Matrix EEPROM initialization
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/common/eeconfig.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tmk_core/common/eeconfig.c b/tmk_core/common/eeconfig.c index 9c1e3520ee..30dc7a48d4 100644 --- a/tmk_core/common/eeconfig.c +++ b/tmk_core/common/eeconfig.c @@ -47,6 +47,9 @@ void eeconfig_init_quantum(void) { eeprom_update_byte(EECONFIG_STENOMODE, 0); eeprom_update_dword(EECONFIG_HAPTIC, 0); eeprom_update_byte(EECONFIG_VELOCIKEY, 0); +#ifdef EECONFIG_RGB_MATRIX + eeprom_update_dword(EECONFIG_RGB_MATRIX, 0); +#endif eeconfig_init_kb(); } @@ -185,5 +188,3 @@ uint32_t eeconfig_read_haptic(void) { return eeprom_read_dword(EECONFIG_HAP * FIXME: needs doc */ void eeconfig_update_haptic(uint32_t val) { eeprom_update_dword(EECONFIG_HAPTIC, val); } - - |