AT / PS/2 keyboard: abort any pending scan code send and reinitialize queue on set defaults (command F5/F6).
This commit is contained in:
@@ -220,6 +220,7 @@ kbc_at_set_fast_reset(const uint8_t new_fast_reset)
|
||||
fast_reset = new_fast_reset;
|
||||
}
|
||||
|
||||
#define ENABLE_KBC_AT_LOG 1
|
||||
#ifdef ENABLE_KBC_AT_LOG
|
||||
int kbc_at_do_log = ENABLE_KBC_AT_LOG;
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ kbc_at_dev_log(const char *fmt, ...)
|
||||
# define kbc_at_dev_log(fmt, ...)
|
||||
#endif
|
||||
|
||||
static void
|
||||
void
|
||||
kbc_at_dev_queue_reset(atkbc_dev_t *dev, uint8_t reset_main)
|
||||
{
|
||||
if (reset_main) {
|
||||
|
||||
Reference in New Issue
Block a user