1
0
Fork 0

Configurable VIA layout options default value (#8707)

This commit is contained in:
Wilba 2020-04-07 05:27:44 +10:00 committed by GitHub
parent b6fc3ad8e7
commit 9bfa713421
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -111,7 +111,7 @@ void via_init(void) {
if (via_eeprom_is_valid()) {
} else {
// This resets the layout options
via_set_layout_options(0);
via_set_layout_options(VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT);
// This resets the keymaps in EEPROM to what is in flash.
dynamic_keymap_reset();
// This resets the macros in EEPROM to nothing.