diff options
Diffstat (limited to 'tinyusb/core/std_request.h')
| -rw-r--r-- | tinyusb/core/std_request.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/core/std_request.h b/tinyusb/core/std_request.h index 327bc85b7..fb004c607 100644 --- a/tinyusb/core/std_request.h +++ b/tinyusb/core/std_request.h @@ -61,7 +61,7 @@ #include "common/binary.h" typedef ATTR_PREPACKED struct ATTR_PACKED { - struct { + ATTR_PREPACKED struct ATTR_PACKED { uint8_t recipient : 5; /**< Recipient type. */ uint8_t type : 2; /**< Request type. */ uint8_t direction : 1; /**< Direction type. */ |
