Merge pull request #24 from zsa/fix/rgb_matrix_init

Fix RGB Matrix EEPROM initialization
pull/5990/head
Florian Didron 6 years ago committed by GitHub
commit 9f37354851
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,6 +5,7 @@
04-16-2019 - Fix info.json for Ergodox EZ 04-16-2019 - Fix info.json for Ergodox EZ
04-16-2019 - Add support for WS2812 based RGB Matrix 04-16-2019 - Add support for WS2812 based RGB Matrix
04-18-2019 - Fix Eager Per Row Debouncing bug 04-18-2019 - Fix Eager Per Row Debouncing bug
04-22-2019 - Init RGB Matrix EEPROM when EEPROM range is defined
04-22-2019 - Make sure NOBITS is set on reset_key 04-22-2019 - Make sure NOBITS is set on reset_key
04-22-2019 - Improve Mousekey constant speed mode 04-22-2019 - Improve Mousekey constant speed mode
04-22-2019 - Add new reactive modes (wide, cross, nexus) for RGB Matrix 04-22-2019 - Add new reactive modes (wide, cross, nexus) for RGB Matrix

@ -47,6 +47,9 @@ void eeconfig_init_quantum(void) {
eeprom_update_byte(EECONFIG_STENOMODE, 0); eeprom_update_byte(EECONFIG_STENOMODE, 0);
eeprom_update_dword(EECONFIG_HAPTIC, 0); eeprom_update_dword(EECONFIG_HAPTIC, 0);
eeprom_update_byte(EECONFIG_VELOCIKEY, 0); eeprom_update_byte(EECONFIG_VELOCIKEY, 0);
#ifdef EECONFIG_RGB_MATRIX
eeprom_update_dword(EECONFIG_RGB_MATRIX, 0);
#endif
eeconfig_init_kb(); eeconfig_init_kb();
} }
@ -185,5 +188,3 @@ uint32_t eeconfig_read_haptic(void) { return eeprom_read_dword(EECONFIG_HAP
* FIXME: needs doc * FIXME: needs doc
*/ */
void eeconfig_update_haptic(uint32_t val) { eeprom_update_dword(EECONFIG_HAPTIC, val); } void eeconfig_update_haptic(uint32_t val) { eeprom_update_dword(EECONFIG_HAPTIC, val); }

Loading…
Cancel
Save