1
0
Fork 0

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:
vectorstorm 2021-12-27 11:52:56 +11:00 committed by GitHub
parent 6e40dfa022
commit 0391801267
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 34 deletions

View file

@ -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);