PS/2 KB driver ignore ack byte
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m16s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m16s
This commit is contained in:
@@ -151,7 +151,7 @@ static void ps2kb_irq (void* arg, void* regs, struct reschedule_ctx* rctx) {
|
|||||||
|
|
||||||
int32_t keycode = ps2kb_keycode ();
|
int32_t keycode = ps2kb_keycode ();
|
||||||
|
|
||||||
if (keycode <= 0)
|
if (keycode <= 0 || keycode == 0xFA)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
spin_lock (&ps2kb_ringbuffer_lock);
|
spin_lock (&ps2kb_ringbuffer_lock);
|
||||||
|
|||||||
Reference in New Issue
Block a user