summaryrefslogtreecommitdiff
path: root/tinyusb/core/std_request.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-06-29 15:56:32 +0700
committerhathach <[email protected]>2013-06-29 15:56:32 +0700
commitd4f31e149accff338592f2172a0cccc8372c837a (patch)
tree6b3fd1fa8777beba6f05ef2576d297f95cfefc70 /tinyusb/core/std_request.h
parenta07ff5a3cece890534ffdd7865676fc8b3a637fd (diff)
adding descriptor, structure, enum support for cdc
Diffstat (limited to 'tinyusb/core/std_request.h')
-rw-r--r--tinyusb/core/std_request.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/core/std_request.h b/tinyusb/core/std_request.h
index 15b34e66a..041adb7c8 100644
--- a/tinyusb/core/std_request.h
+++ b/tinyusb/core/std_request.h
@@ -56,8 +56,8 @@
extern "C" {
#endif
-typedef ATTR_PREPACKED struct ATTR_PACKED {
- ATTR_PREPACKED struct ATTR_PACKED {
+typedef ATTR_PACKED_STRUCT(struct){
+ ATTR_PACKED_STRUCT(struct) {
uint8_t recipient : 5; /**< Recipient type tusb_std_request_recipient_t. */
uint8_t type : 2; /**< Request type tusb_std_request_type_t. */
uint8_t direction : 1; /**< Direction type. tusb_direction_t */