diff options
| author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-04-19 20:19:16 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-19 20:19:16 +1000 |
| commit | 230f09ca17c62ff1b47350f0232db2c2de4f2765 (patch) | |
| tree | 8f3702610d30fb2a4406a302d2e35f124d7a13ff /quantum | |
| parent | d562b4fdc5eb873fd99880c6277042968cabe492 (diff) | |
| download | qmk_firmware-230f09ca17c62ff1b47350f0232db2c2de4f2765.tar.gz qmk_firmware-230f09ca17c62ff1b47350f0232db2c2de4f2765.zip | |
[CI] Format code according to conventions (#12623)
Co-authored-by: QMK Bot <hello@qmk.fm>
Diffstat (limited to 'quantum')
| -rw-r--r-- | quantum/wpm.c | 2 | ||||
| -rw-r--r-- | quantum/wpm.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/quantum/wpm.c b/quantum/wpm.c index c44b1172b..bec419a48 100644 --- a/quantum/wpm.c +++ b/quantum/wpm.c | |||
| @@ -85,6 +85,6 @@ void update_wpm(uint16_t keycode) { | |||
| 85 | void decay_wpm(void) { | 85 | void decay_wpm(void) { |
| 86 | if (timer_elapsed(wpm_timer) > 1000) { | 86 | if (timer_elapsed(wpm_timer) > 1000) { |
| 87 | current_wpm += (-current_wpm) * wpm_smoothing; | 87 | current_wpm += (-current_wpm) * wpm_smoothing; |
| 88 | wpm_timer = timer_read(); | 88 | wpm_timer = timer_read(); |
| 89 | } | 89 | } |
| 90 | } | 90 | } |
diff --git a/quantum/wpm.h b/quantum/wpm.h index 079401eb4..4af52d2b9 100644 --- a/quantum/wpm.h +++ b/quantum/wpm.h | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | 19 | ||
| 20 | #include "quantum.h" | 20 | #include "quantum.h" |
| 21 | 21 | ||
| 22 | |||
| 23 | #ifndef WPM_ESTIMATED_WORD_SIZE | 22 | #ifndef WPM_ESTIMATED_WORD_SIZE |
| 24 | # define WPM_ESTIMATED_WORD_SIZE 5 | 23 | # define WPM_ESTIMATED_WORD_SIZE 5 |
| 25 | #endif | 24 | #endif |
