bug fix,scan_keys used wrong variable of debouncing, add KEY_DEB struct

This commit is contained in:
cuu
2021-05-04 08:03:31 +08:00
parent 661f49abdc
commit 7ccbbb5c3e
4 changed files with 33 additions and 20 deletions

View File

@@ -3,6 +3,12 @@
#include <USBComposite.h>
typedef struct key_debouncing{
bool deing;//debouncing
uint16_t de_time;
}KEY_DEB;
typedef struct keyboard_state{