Update asymmetric debounce code comment (#22981)

This commit is contained in:
フィルターペーパー 2024-01-31 11:34:45 +08:00 committed by GitHub
parent 18f8e51cb7
commit 0a6a203fb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,8 +18,9 @@
*/ */
/* /*
Basic symmetric per-key algorithm. Uses an 8-bit counter per key. Asymetric per-key algorithm. After pressing a key, it immediately changes state,
When no state changes have occured for DEBOUNCE milliseconds, we push the state. with no further inputs accepted until DEBOUNCE milliseconds have occurred. After
releasing a key, that state is pushed after no changes occur for DEBOUNCE milliseconds.
*/ */
#include "debounce.h" #include "debounce.h"