summaryrefslogtreecommitdiff
path: root/tinyusb/core
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/core')
-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 */