From 423826a34a2b5839a10188f2be84e518ac44bd47 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Thu, 1 Sep 2022 20:43:06 -0700 Subject: [PATCH] Better handle EEPROM reset keycode (#18244) --- quantum/quantum.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quantum/quantum.c b/quantum/quantum.c index 9a0016b150..acafd8025c 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -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;