Changeset 3035323 in mainline for uspace/lib/usb/include/usb/request.h
- Timestamp:
- 2017-11-22T13:54:05Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b60eac1
- Parents:
- a0e09ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/request.h
ra0e09ef r3035323 71 71 #define USB_ENDPOINT_STATUS_HALTED ((uint16_t)(1 << 0)) 72 72 73 /** Size of the USB setup packet */ 74 #define USB_SETUP_PACKET_SIZE 8 75 73 76 /** Device request setup packet. 74 77 * The setup packet describes the request. … … 108 111 } __attribute__ ((packed)) usb_device_request_setup_packet_t; 109 112 110 static_assert(sizeof(usb_device_request_setup_packet_t) == 8);113 static_assert(sizeof(usb_device_request_setup_packet_t) == USB_SETUP_PACKET_SIZE); 111 114 112 115 /** How many toggles need to be reset */
Note:
See TracChangeset
for help on using the changeset viewer.