mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-04-30 20:17:51 +00:00
Add EEPROM reset functionality
This commit is contained in:
committed by
Florian Didron
parent
3b71e1e819
commit
a8e4c490bf
@@ -228,3 +228,9 @@ void layer_state_set_oryx(layer_state_t state) {
|
||||
webusb_send(event, sizeof(event));
|
||||
}
|
||||
}
|
||||
|
||||
void eeconfig_init_oryx(void) {
|
||||
// reread settings from flash into eeprom
|
||||
dynamic_keymap_reset();
|
||||
dynamic_keymap_macro_reset();
|
||||
}
|
||||
|
||||
@@ -81,4 +81,5 @@ void oryx_layer_event(void);
|
||||
bool is_oryx_live_training_enabled(void);
|
||||
bool process_record_oryx(uint16_t keycode, keyrecord_t *record);
|
||||
void layer_state_set_oryx(layer_state_t state);
|
||||
void eeconfig_init_oryx(void);
|
||||
void keyboard_pre_init_oryx(void);
|
||||
|
||||
Reference in New Issue
Block a user