Преглед изворни кода

Better handle EEPROM reset keycode (#18244)

Drashna Jaelre пре 2 година
родитељ
комит
423826a34a
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      quantum/quantum.c

+ 3 - 1
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;