diff options
Diffstat (limited to 'firmware/src/os/pcd_enumerate.h')
-rw-r--r-- | firmware/src/os/pcd_enumerate.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/src/os/pcd_enumerate.h b/firmware/src/os/pcd_enumerate.h index acec89c..08d26de 100644 --- a/firmware/src/os/pcd_enumerate.h +++ b/firmware/src/os/pcd_enumerate.h @@ -17,7 +17,7 @@ struct req_ctx; extern void udp_open(void); -extern int udp_refill_ep(int ep); +extern int __ramfunc udp_refill_ep(int ep); extern void udp_unthrottle(void); extern void udp_reset(void); @@ -31,7 +31,10 @@ struct ep_ctx { struct udp_pcd { AT91PS_UDP pUdp; + enum usb_device_state state; unsigned char cur_config; + unsigned char cur_interface; + unsigned char cur_altsett; unsigned int cur_rcv_bank; struct ep_ctx ep[4]; }; |