diff options
| author | Ha Thach <[email protected]> | 2021-08-20 22:21:30 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-20 22:21:30 +0700 |
| commit | 58477b71f2989bc24480cb6e90dfd61506ec0ccd (patch) | |
| tree | d4ae041de9cf357208d8afc39eb91dc3ddeca28e /src/host/usbh_hcd.h | |
| parent | aab133ac69aaf371b5270850588e5d1cd6fb6de1 (diff) | |
| parent | beb1a5c678dd50c3142d2c74a29e92affa0b06c9 (diff) | |
Merge pull request #1035 from hathach/improve-host-stack
Improve host stack
Diffstat (limited to 'src/host/usbh_hcd.h')
| -rw-r--r-- | src/host/usbh_hcd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/usbh_hcd.h b/src/host/usbh_hcd.h index b3856d6b7..450b3e447 100644 --- a/src/host/usbh_hcd.h +++ b/src/host/usbh_hcd.h @@ -73,9 +73,9 @@ typedef struct { uint8_t suspended : 1; }; - volatile uint8_t state; // device state, value from enum tusbh_device_state_t + volatile uint8_t state; // device state, value from enum tusbh_device_state_t - uint8_t itf2drv[16]; // map interface number to driver (0xff is invalid) + uint8_t itf2drv[16]; // map interface number to driver (0xff is invalid) uint8_t ep2drv[CFG_TUH_EP_MAX][2]; // map endpoint to driver ( 0xff is invalid ) struct TU_ATTR_PACKED |
