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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user