diff options
| author | Damien George | 2017-09-20 17:34:45 +1000 |
|---|---|---|
| committer | Damien George | 2017-09-21 21:51:04 +1000 |
| commit | f8f17f48c5742714690907e768f98369d8657623 (patch) | |
| tree | c4e46f4f9ad2fb6bd16065903e7ad30f82816d12 /ports/stm32/usbd_hid_interface.h | |
| parent | 35e3435f6e2ca7494249e781a4fb99bfdf0a039a (diff) | |
stm32/usbdev: Put all state for the USB device driver in a struct.
Diffstat (limited to 'ports/stm32/usbd_hid_interface.h')
| -rw-r--r-- | ports/stm32/usbd_hid_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/usbd_hid_interface.h b/ports/stm32/usbd_hid_interface.h index 3dc87de6b..79040b57e 100644 --- a/ports/stm32/usbd_hid_interface.h +++ b/ports/stm32/usbd_hid_interface.h @@ -7,7 +7,7 @@ #include "usbd_cdc_msc_hid.h" typedef struct _usbd_hid_itf_t { - USBD_HandleTypeDef *usb; // the parent USB device + usbd_cdc_msc_hid_state_t *usbd; // the parent USB device uint8_t buffer[2][HID_DATA_FS_MAX_PACKET_SIZE]; // pair of buffers to read individual packets into int8_t current_read_buffer; // which buffer to read from |
