diff options
author | Drashna Jaelre <drashna@live.com> | 2018-10-01 17:53:14 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-10-01 20:53:14 -0400 |
commit | e885c793bcffcba03e18e93e41120b21cdfb6b75 (patch) | |
tree | 9018aab46625ff555b32190dd3e141a39f2ef872 /quantum | |
parent | 4318797d198b58bb807b3e436c7d8924d8b4a6fe (diff) |
Add Function level EECONFIG code for EEPROM (#3084)
* Add Function level EEPROM configuration
Add kb and user functions for EEPROM, and example of how to use it.
* Bug fixes and demo
* Additional cleanup
* Add EEPROM reset macro to example
* Forgot init function in list
* Move eeconfig_init_quantum function to quantum.c and actually set default layer
* See if removing weak quantum function fixes issue
* Fix travis compile error
* Remove ifdef blocks from EECONFIG so settings are always set
* Fix for ARM EEPROM updates
* Fix merge issues
* Fix potential STM32 EEPROM issues
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/quantum.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 84ccbdeaba..eed59f811e 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -945,6 +945,9 @@ void tap_random_base64(void) { } void matrix_init_quantum() { + if (!eeconfig_is_enabled() && !eeconfig_is_disabled()) { + eeconfig_init(); + } #ifdef BACKLIGHT_ENABLE backlight_init_ports(); #endif |