diff options
author | vectorstorm <[email protected]> | 2021-12-27 11:52:56 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-27 11:52:56 +1100 |
commit | 0391801267799dfe233cd0962357a0bf332c3908 (patch) | |
tree | 4469e8cf552d58730642e795af506eb0d4b1f7d5 /quantum/wpm.h | |
parent | 6e40dfa0220e68a6628d9e7d18788df6bcae5473 (diff) | |
download | qmk_firmware-0391801267799dfe233cd0962357a0bf332c3908.tar.gz qmk_firmware-0391801267799dfe233cd0962357a0bf332c3908.zip |
Fixes potential wpm sampling overflow, along with code comment fixes (#15277)
Co-authored-by: Trevor Powell <[email protected]>
Diffstat (limited to 'quantum/wpm.h')
-rw-r--r-- | quantum/wpm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/wpm.h b/quantum/wpm.h index c8e7d26684..305d75b450 100644 --- a/quantum/wpm.h +++ b/quantum/wpm.h @@ -26,7 +26,7 @@ # define WPM_SAMPLE_SECONDS 5 #endif #ifndef WPM_SAMPLE_PERIODS -# define WPM_SAMPLE_PERIODS 50 +# define WPM_SAMPLE_PERIODS 25 #endif bool wpm_keycode(uint16_t keycode); |