summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-04-19 20:19:16 +1000
committerGitHub <noreply@github.com>2021-04-19 20:19:16 +1000
commit230f09ca17c62ff1b47350f0232db2c2de4f2765 (patch)
tree8f3702610d30fb2a4406a302d2e35f124d7a13ff /quantum
parentd562b4fdc5eb873fd99880c6277042968cabe492 (diff)
[CI] Format code according to conventions (#12623)
Co-authored-by: QMK Bot <hello@qmk.fm>
Diffstat (limited to 'quantum')
-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