diff options
author | jack <0x6A73@pm.me> | 2023-02-05 14:36:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-06 08:36:01 +1100 |
commit | d5e622b979c54ddc8f9ad97116c302e29c6aed12 (patch) | |
tree | 9000e4c676ba7f7e276334e0ec750e6b75fc7d59 /keyboards/bpiphany/pegasushoof/2013 | |
parent | a5f36b156ba2a80a992936e79073039f9a871573 (diff) |
Remove `DEBOUNCE` macro usage (#19750)
Diffstat (limited to 'keyboards/bpiphany/pegasushoof/2013')
-rw-r--r-- | keyboards/bpiphany/pegasushoof/2013/matrix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/bpiphany/pegasushoof/2013/matrix.c b/keyboards/bpiphany/pegasushoof/2013/matrix.c index ed56067dca..3250e71fe6 100644 --- a/keyboards/bpiphany/pegasushoof/2013/matrix.c +++ b/keyboards/bpiphany/pegasushoof/2013/matrix.c @@ -26,6 +26,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "util.h" #include "matrix.h" +#ifndef DEBOUNCE +# define DEBOUNCE 5 +#endif + static uint8_t debouncing = DEBOUNCE; static matrix_row_t matrix[MATRIX_ROWS]; static matrix_row_t matrix_debouncing[MATRIX_ROWS]; |