diff options
Diffstat (limited to 'hid/pico/src/ph_ps2_kbd.c')
-rw-r--r-- | hid/pico/src/ph_ps2_kbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hid/pico/src/ph_ps2_kbd.c b/hid/pico/src/ph_ps2_kbd.c index f9e0caa3..e2fd7faf 100644 --- a/hid/pico/src/ph_ps2_kbd.c +++ b/hid/pico/src/ph_ps2_kbd.c @@ -213,10 +213,10 @@ void ph_ps2_kbd_receive(u8 byte, u8 prev_byte) { void ph_ps2_kbd_task(void) { ph_ps2_phy_task(&ph_ps2_kbd); - ph_g_ps2_kbd_online = ph_ps2_kbd_scanning && ph_ps2_kbd.idle; + ph_g_ps2_kbd_online = ph_ps2_kbd_scanning && !ph_ps2_kbd.busy; } void ph_ps2_kbd_init(u8 gpio) { ph_ps2_phy_init(&ph_ps2_kbd, pio0, gpio, &ph_ps2_kbd_receive); ph_ps2_kbd_reset(); -}
\ No newline at end of file +} |