diff options
| -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 |
