Ver Fonte

Fix up Debouncing in AVR Templates (#5964)

Drashna Jaelre há 6 anos atrás
pai
commit
83afae31ed
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      quantum/template/avr/config.h
  2. 1 1
      quantum/template/ps2avrgb/config.h

+ 1 - 1
quantum/template/avr/config.h

@@ -86,7 +86,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 // #endif
 
 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCING_DELAY 5
+#define DEBOUNCE 5
 
 /* define if matrix has ghost (lacks anti-ghosting diodes) */
 //#define MATRIX_HAS_GHOST

+ 1 - 1
quantum/template/ps2avrgb/config.h

@@ -37,7 +37,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define UNUSED_PINS     {}
 
 #define DIODE_DIRECTION COL2ROW
-#define DEBOUNCING_DELAY 5
+#define DEBOUNCE 5
 
 #define NO_BACKLIGHT_CLOCK
 #define BACKLIGHT_LEVELS 1