summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/keyboard_8042.c4
-rw-r--r--include/i8042_protocol.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/common/keyboard_8042.c b/common/keyboard_8042.c
index 660bd3970e..d1efbc9df2 100644
--- a/common/keyboard_8042.c
+++ b/common/keyboard_8042.c
@@ -609,12 +609,10 @@ static int handle_keyboard_data(uint8_t data, uint8_t *output)
keyboard_clear_buffer();
break;
- case I8042_CMD_RESET_BAT:
+ case I8042_CMD_RESET:
reset_rate_and_delay();
keyboard_clear_buffer();
output[out_len++] = I8042_RET_ACK;
- output[out_len++] = I8042_RET_BAT;
- output[out_len++] = I8042_RET_BAT;
break;
case I8042_CMD_RESEND:
diff --git a/include/i8042_protocol.h b/include/i8042_protocol.h
index 8844cd658d..d6b47db458 100644
--- a/include/i8042_protocol.h
+++ b/include/i8042_protocol.h
@@ -33,7 +33,7 @@
#define I8042_CMD_SET_A_KEY_T 0xfb
#define I8042_CMD_SET_A_KEY_MR 0xfc
#define I8042_CMD_SET_A_KEY_M 0xfd
-#define I8042_CMD_RESET_BAT 0xff
+#define I8042_CMD_RESET 0xff
#define I8042_CMD_RESEND 0xfe
/* port 0x64 */
@@ -66,7 +66,6 @@
#define I8042_PULSE_END 0xff
/* port 0x60 return value */
-#define I8042_RET_BAT 0xaa
#define I8042_RET_EMUL0 0xe0
#define I8042_RET_EMUL1 0xe1
#define I8042_RET_ECHO 0xee