Fixes potential wpm sampling overflow, along with code comment fixes (#15277)
Co-authored-by: Trevor Powell <trevor@vectorstorm.com.au>
This commit is contained in:
parent
6e40dfa022
commit
0391801267
3 changed files with 45 additions and 34 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue