Better handle EEPROM reset keycode (#18244)
parent
98ed5b6cfa
commit
423826a34a
|
@ -361,8 +361,10 @@ bool process_record_quantum(keyrecord_t *record) {
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
case QK_CLEAR_EEPROM:
|
case QK_CLEAR_EEPROM:
|
||||||
|
#ifdef NO_RESET
|
||||||
eeconfig_init();
|
eeconfig_init();
|
||||||
#ifndef NO_RESET
|
#else
|
||||||
|
eeconfig_disable();
|
||||||
soft_reset_keyboard();
|
soft_reset_keyboard();
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue