diff options
| author | Drashna Jaelre <drashna@live.com> | 2019-06-06 12:09:56 -0700 |
|---|---|---|
| committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-06-06 12:09:56 -0700 |
| commit | faaaa134fd436be400aa2c7841b38907899d49a6 (patch) | |
| tree | 9deaea82d250f349b314ec89d369f068ddd75489 /keyboards/massdrop | |
| parent | fe6b8edd581c334a92a97c15faced95a12d5e882 (diff) | |
| download | qmk_firmware-faaaa134fd436be400aa2c7841b38907899d49a6.tar.gz qmk_firmware-faaaa134fd436be400aa2c7841b38907899d49a6.zip | |
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
Diffstat (limited to 'keyboards/massdrop')
| -rw-r--r-- | keyboards/massdrop/alt/config.h | 2 | ||||
| -rw-r--r-- | keyboards/massdrop/alt/matrix.c | 2 | ||||
| -rw-r--r-- | keyboards/massdrop/ctrl/config.h | 2 | ||||
| -rw-r--r-- | keyboards/massdrop/ctrl/matrix.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/massdrop/alt/config.h b/keyboards/massdrop/alt/config.h index 59e66e133..d8389fc00 100644 --- a/keyboards/massdrop/alt/config.h +++ b/keyboards/massdrop/alt/config.h | |||
| @@ -92,7 +92,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 92 | #define DEBUG_BOOT_TRACING_PIN 23 | 92 | #define DEBUG_BOOT_TRACING_PIN 23 |
| 93 | 93 | ||
| 94 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 94 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 95 | #define DEBOUNCING_DELAY 5 | 95 | #define DEBOUNCE 5 |
| 96 | 96 | ||
| 97 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 97 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 98 | //#define LOCKING_SUPPORT_ENABLE | 98 | //#define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/massdrop/alt/matrix.c b/keyboards/massdrop/alt/matrix.c index 472479d30..314115571 100644 --- a/keyboards/massdrop/alt/matrix.c +++ b/keyboards/massdrop/alt/matrix.c | |||
| @@ -128,7 +128,7 @@ uint8_t matrix_scan(void) | |||
| 128 | else | 128 | else |
| 129 | { | 129 | { |
| 130 | //Begin or extend debounce on change | 130 | //Begin or extend debounce on change |
| 131 | mdebouncing = timer_read64() + DEBOUNCING_DELAY; | 131 | mdebouncing = timer_read64() + DEBOUNCE; |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | matrix_scan_quantum(); | 134 | matrix_scan_quantum(); |
diff --git a/keyboards/massdrop/ctrl/config.h b/keyboards/massdrop/ctrl/config.h index 9b9f98f5f..215a2e1b1 100644 --- a/keyboards/massdrop/ctrl/config.h +++ b/keyboards/massdrop/ctrl/config.h | |||
| @@ -92,7 +92,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 92 | #define DEBUG_BOOT_TRACING_PIN 23 | 92 | #define DEBUG_BOOT_TRACING_PIN 23 |
| 93 | 93 | ||
| 94 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 94 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 95 | #define DEBOUNCING_DELAY 5 | 95 | #define DEBOUNCE 5 |
| 96 | 96 | ||
| 97 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 97 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 98 | //#define LOCKING_SUPPORT_ENABLE | 98 | //#define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/massdrop/ctrl/matrix.c b/keyboards/massdrop/ctrl/matrix.c index 5f1741e58..f3529fe72 100644 --- a/keyboards/massdrop/ctrl/matrix.c +++ b/keyboards/massdrop/ctrl/matrix.c | |||
| @@ -128,7 +128,7 @@ uint8_t matrix_scan(void) | |||
| 128 | else | 128 | else |
| 129 | { | 129 | { |
| 130 | //Begin or extend debounce on change | 130 | //Begin or extend debounce on change |
| 131 | mdebouncing = timer_read64() + DEBOUNCING_DELAY; | 131 | mdebouncing = timer_read64() + DEBOUNCE; |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | matrix_scan_quantum(); | 134 | matrix_scan_quantum(); |
