[CI] Format code according to conventions (#12623)
Co-authored-by: QMK Bot <hello@qmk.fm>
This commit is contained in:
parent
d562b4fdc5
commit
230f09ca17
@ -85,6 +85,6 @@ void update_wpm(uint16_t keycode) {
|
|||||||
void decay_wpm(void) {
|
void decay_wpm(void) {
|
||||||
if (timer_elapsed(wpm_timer) > 1000) {
|
if (timer_elapsed(wpm_timer) > 1000) {
|
||||||
current_wpm += (-current_wpm) * wpm_smoothing;
|
current_wpm += (-current_wpm) * wpm_smoothing;
|
||||||
wpm_timer = timer_read();
|
wpm_timer = timer_read();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
|
|
||||||
#ifndef WPM_ESTIMATED_WORD_SIZE
|
#ifndef WPM_ESTIMATED_WORD_SIZE
|
||||||
# define WPM_ESTIMATED_WORD_SIZE 5
|
# define WPM_ESTIMATED_WORD_SIZE 5
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user