From 230f09ca17c62ff1b47350f0232db2c2de4f2765 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 19 Apr 2021 20:19:16 +1000 Subject: [PATCH] [CI] Format code according to conventions (#12623) Co-authored-by: QMK Bot --- quantum/wpm.c | 2 +- quantum/wpm.h | 1 - 2 files changed, 1 insertion(+), 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) { 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 079401eb4..4af52d2b9 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