]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/duck/octagon/v2/matrix.c
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
[qmk_firmware.git] / keyboards / duck / octagon / v2 / matrix.c
index e6e7046b45bcc8fcbeb3f9b42cae0211413393fe..25d1e45b0513bd586a596003b273fc0a8c911671 100644 (file)
@@ -22,7 +22,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include "print.h"
 #include "debug.h"
 
-static uint8_t debouncing = DEBOUNCING_DELAY;
+static uint8_t debouncing = DEBOUNCE;
 
 /* matrix state(1:on, 0:off) */
 static matrix_row_t matrix[MATRIX_ROWS];
@@ -92,7 +92,7 @@ uint8_t matrix_scan(void) {
         if (debouncing) {
             dprint("bounce!: "); dprintf("%02X", debouncing); dprintln();
         }
-        debouncing = DEBOUNCING_DELAY;
+        debouncing = DEBOUNCE;
       }
     }
     unselect_cols();