diff options
author | Drashna Jael're <drashna@live.com> | 2020-01-15 02:21:11 -0800 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-02-26 10:15:12 +0900 |
commit | a8e4c490bf337afb2fb50c21498abaedd1154344 (patch) | |
tree | 2e3991e4f16d2f2e1c29520e0c2ff13a19fcfdcf /tmk_core | |
parent | 3b71e1e8196d5db7e82a36edc3f0f0a8d3d46ee3 (diff) |
Add EEPROM reset functionality
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/common/eeconfig.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tmk_core/common/eeconfig.c b/tmk_core/common/eeconfig.c index 20d64438b1..d091b8e474 100644 --- a/tmk_core/common/eeconfig.c +++ b/tmk_core/common/eeconfig.c @@ -3,7 +3,9 @@ #include "eeprom.h" #include "eeconfig.h" #include "action_layer.h" - +#ifdef ORYX_ENABLE +# include "oryx.h" +#endif #ifdef STM32_EEPROM_ENABLE # include "hal.h" # include "eeprom_stm32.h" @@ -65,7 +67,9 @@ void eeconfig_init_quantum(void) { #pragma message "Faking EE_HANDS for right hand" eeprom_update_byte(EECONFIG_HANDEDNESS, 0); #endif - +#ifdef ORYX_ENABLE + eeconfig_init_oryx(); +#endif eeconfig_init_kb(); } |