Browse Source
[CI] Format code according to conventions (#12623)
Co-authored-by: QMK Bot <hello@qmk.fm>
pull/12626/head
github-actions[bot]
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
1 additions and
2 deletions
-
quantum/wpm.c
-
quantum/wpm.h
|
|
@ -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(); |
|
|
|
} |
|
|
|
} |
|
|
@ -19,7 +19,6 @@ |
|
|
|
|
|
|
|
#include "quantum.h" |
|
|
|
|
|
|
|
|
|
|
|
#ifndef WPM_ESTIMATED_WORD_SIZE |
|
|
|
# define WPM_ESTIMATED_WORD_SIZE 5 |
|
|
|
#endif |
|
|
|