mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Better handle EEPROM reset keycode (#18244)
This commit is contained in:
parent
98ed5b6cfa
commit
423826a34a
|
@ -361,8 +361,10 @@ bool process_record_quantum(keyrecord_t *record) {
|
|||
#endif
|
||||
return false;
|
||||
case QK_CLEAR_EEPROM:
|
||||
#ifdef NO_RESET
|
||||
eeconfig_init();
|
||||
#ifndef NO_RESET
|
||||
#else
|
||||
eeconfig_disable();
|
||||
soft_reset_keyboard();
|
||||
#endif
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue