diff options
Diffstat (limited to 'nuttx/include')
-rwxr-xr-x | nuttx/include/nuttx/usb/ohci.h | 2 | ||||
-rw-r--r-- | nuttx/include/nuttx/usb/usbhost.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/include/nuttx/usb/ohci.h b/nuttx/include/nuttx/usb/ohci.h index c20e34b3e..c19b2d3d8 100755 --- a/nuttx/include/nuttx/usb/ohci.h +++ b/nuttx/include/nuttx/usb/ohci.h @@ -401,7 +401,7 @@ struct ohci_gtd_s struct ohci_itd_s { - volatile uint32_t status; /* TD status/control bits */ + volatile uint32_t ctrl; /* TD status/control bits */ volatile uint32_t bp0; /* Buffer page 0 (BP0 */ volatile uint32_t nexttd; /* Next TD (NextTD) */ volatile uint32_t be; /* Buffer End (BE) */ diff --git a/nuttx/include/nuttx/usb/usbhost.h b/nuttx/include/nuttx/usb/usbhost.h index 2f02056f6..a83048f68 100644 --- a/nuttx/include/nuttx/usb/usbhost.h +++ b/nuttx/include/nuttx/usb/usbhost.h @@ -526,10 +526,10 @@ struct usbhost_driver_s struct usbhost_epdesc_s { uint8_t addr : 4; /* Endpoint address */ - uint8_t pad1 : 3; + uint8_t pad : 3; uint8_t in : 1; /* Direction: 1->IN */ uint8_t funcaddr : 7; /* USB address of function containing endpoint */ - uint8_t pad2 : 1; + uint8_t toggle : 1; /* Last toggle (modified by the driver) */ uint16_t mxpacketsize; /* Max packetsize */ }; |