parent
d562b4fdc5
commit
230f09ca17
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue