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 /docs | |
| parent | fe6b8edd581c334a92a97c15faced95a12d5e882 (diff) | |
| download | qmk_firmware-faaaa134fd436be400aa2c7841b38907899d49a6.tar.gz qmk_firmware-faaaa134fd436be400aa2c7841b38907899d49a6.zip | |
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/config_options.md | 2 | ||||
| -rw-r--r-- | docs/feature_bootmagic.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/config_options.md b/docs/config_options.md index cab3c0747..f4035809a 100644 --- a/docs/config_options.md +++ b/docs/config_options.md | |||
| @@ -83,7 +83,7 @@ This is a C header file that is one of the first things included, and will persi | |||
| 83 | * enables backlight breathing (only works with backlight pins B5, B6 and B7) | 83 | * enables backlight breathing (only works with backlight pins B5, B6 and B7) |
| 84 | * `#define BREATHING_PERIOD 6` | 84 | * `#define BREATHING_PERIOD 6` |
| 85 | * the length of one backlight "breath" in seconds | 85 | * the length of one backlight "breath" in seconds |
| 86 | * `#define DEBOUNCING_DELAY 5` | 86 | * `#define DEBOUNCE 5` |
| 87 | * the delay when reading the value of the pin (5 is default) | 87 | * the delay when reading the value of the pin (5 is default) |
| 88 | * `#define LOCKING_SUPPORT_ENABLE` | 88 | * `#define LOCKING_SUPPORT_ENABLE` |
| 89 | * mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap | 89 | * mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap |
diff --git a/docs/feature_bootmagic.md b/docs/feature_bootmagic.md index 39e4e47f4..225189ccb 100644 --- a/docs/feature_bootmagic.md +++ b/docs/feature_bootmagic.md | |||
| @@ -140,7 +140,7 @@ To replace the function, all you need to do is add something like this to your c | |||
| 140 | ```c | 140 | ```c |
| 141 | void bootmagic_lite(void) { | 141 | void bootmagic_lite(void) { |
| 142 | matrix_scan(); | 142 | matrix_scan(); |
| 143 | wait_ms(DEBOUNCING_DELAY * 2); | 143 | wait_ms(DEBOUNCE * 2); |
| 144 | matrix_scan(); | 144 | matrix_scan(); |
| 145 | 145 | ||
| 146 | if (matrix_get_row(BOOTMAGIC_LITE_ROW) & (1 << BOOTMAGIC_LITE_COLUMN)) { | 146 | if (matrix_get_row(BOOTMAGIC_LITE_ROW) & (1 << BOOTMAGIC_LITE_COLUMN)) { |
