Changeset 1433ecda in mainline for uspace/lib/usb/include
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/request.h
r47b2d7e3 r1433ecda 97 97 uint8_t request; 98 98 /** Main parameter to the request. */ 99 union __attribute__ 99 union __attribute__((packed)) { 100 100 uint16_t value; 101 101 /* FIXME: add #ifdefs according to host endianness */ 102 struct __attribute__ 102 struct __attribute__((packed)) { 103 103 uint8_t value_low; 104 104 uint8_t value_high; … … 111 111 /** Length of extra data. */ 112 112 uint16_t length; 113 } __attribute__ 113 } __attribute__((packed)) usb_device_request_setup_packet_t; 114 114 115 115 static_assert(sizeof(usb_device_request_setup_packet_t) == USB_SETUP_PACKET_SIZE);
Note:
See TracChangeset
for help on using the changeset viewer.