summaryrefslogtreecommitdiff
path: root/hid/pico/src/ph_ps2_phy.h
diff options
context:
space:
mode:
Diffstat (limited to 'hid/pico/src/ph_ps2_phy.h')
-rw-r--r--hid/pico/src/ph_ps2_phy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hid/pico/src/ph_ps2_phy.h b/hid/pico/src/ph_ps2_phy.h
index 3ed7dcfb..a6a0fc13 100644
--- a/hid/pico/src/ph_ps2_phy.h
+++ b/hid/pico/src/ph_ps2_phy.h
@@ -11,11 +11,11 @@ typedef struct {
uint sm;
queue_t qbytes;
queue_t qpacks;
- u8 sent;
rx_callback rx;
u8 last_rx;
u8 last_tx;
- bool idle;
+ u8 sent;
+ u8 busy;
} ph_ps2_phy;
void ph_ps2_phy_init(ph_ps2_phy* this, PIO pio, u8 data_pin, rx_callback rx);