summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--quantum/wpm.c2
-rw-r--r--quantum/wpm.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/quantum/wpm.c b/quantum/wpm.c
index c44b1172b5..bec419a48e 100644
--- a/quantum/wpm.c
+++ b/quantum/wpm.c
@@ -85,6 +85,6 @@ void update_wpm(uint16_t keycode) {
void decay_wpm(void) {
if (timer_elapsed(wpm_timer) > 1000) {
current_wpm += (-current_wpm) * wpm_smoothing;
- wpm_timer = timer_read();
+ wpm_timer = timer_read();
}
}
diff --git a/quantum/wpm.h b/quantum/wpm.h
index 079401eb4d..4af52d2b98 100644
--- a/quantum/wpm.h
+++ b/quantum/wpm.h
@@ -19,7 +19,6 @@
#include "quantum.h"
-
#ifndef WPM_ESTIMATED_WORD_SIZE
# define WPM_ESTIMATED_WORD_SIZE 5
#endif