mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-01-10 15:42:25 +00:00
fix(ergodox_ez): reinint the eeprom with defaults properly
This commit is contained in:
@@ -304,6 +304,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
|||||||
void eeconfig_init_kb(void) { // EEPROM is getting reset!
|
void eeconfig_init_kb(void) { // EEPROM is getting reset!
|
||||||
keyboard_config.raw = 0;
|
keyboard_config.raw = 0;
|
||||||
keyboard_config.led_level = 4;
|
keyboard_config.led_level = 4;
|
||||||
|
eeconfig_update_kb(keyboard_config.raw);
|
||||||
eeconfig_init_user();
|
eeconfig_init_user();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user