summaryrefslogtreecommitdiff
path: root/quantum/oryx.c
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2020-01-15 02:21:11 -0800
committerFlorian Didron <fdidron@users.noreply.github.com>2020-02-26 10:15:12 +0900
commita8e4c490bf337afb2fb50c21498abaedd1154344 (patch)
tree2e3991e4f16d2f2e1c29520e0c2ff13a19fcfdcf /quantum/oryx.c
parent3b71e1e8196d5db7e82a36edc3f0f0a8d3d46ee3 (diff)
Add EEPROM reset functionality
Diffstat (limited to 'quantum/oryx.c')
-rw-r--r--quantum/oryx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/oryx.c b/quantum/oryx.c
index ea34481d84..dc6c39e178 100644
--- a/quantum/oryx.c
+++ b/quantum/oryx.c
@@ -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();
+}