AT / PS/2 keyboard: abort any pending scan code send and reinitialize queue on set defaults (command F5/F6).

This commit is contained in:
OBattler
2025-05-14 19:08:35 +02:00
parent e8c8d3373e
commit cb67128059
3 changed files with 3 additions and 1 deletions

View File

@@ -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;

View File

@@ -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) {