Explorar o código

Fix up Debouncing in AVR Templates (#5964)

Drashna Jaelre %!s(int64=6) %!d(string=hai) anos
pai
achega
83afae31ed
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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