Better handle EEPROM reset keycode (#18244)

This commit is contained in:
Drashna Jaelre 2022-09-01 20:43:06 -07:00 committed by GitHub
parent 98ed5b6cfa
commit 423826a34a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;