Fixes potential wpm sampling overflow, along with code comment fixes (#15277)

Co-authored-by: Trevor Powell <[email protected]>
This commit is contained in:
vectorstormandTrevor Powell authored and GitHub committed 2021-12-27 11:52:56 +11:00
1 parent 6e40dfa022
commit 0391801267
3 files changed
+45 -34

No files matched your search

+1 -1
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);