diff options
| author | hathach <[email protected]> | 2021-07-22 17:07:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-07-22 17:07:39 +0700 |
| commit | 4e50ceba48c15206543fe662f098a98152ef4235 (patch) | |
| tree | 9b4f0ee3235dc258e65a1a1cab77fde272bb8458 /src/common/tusb_types.h | |
| parent | b35ad6edcb8b723c481246532349d21b35c46ac1 (diff) | |
rename packed begin/end
Diffstat (limited to 'src/common/tusb_types.h')
| -rw-r--r-- | src/common/tusb_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index f34eb3075..34395365e 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -262,7 +262,7 @@ enum // USB Descriptors //--------------------------------------------------------------------+ -TU_PACK_STRUCT_BEGIN // Start of definition of packed structs (used by the CCRX toolchain) +TU_ATTR_PACKED_BEGIN // Start of definition of packed structs (used by the CCRX toolchain) /// USB Device Descriptor typedef struct TU_ATTR_PACKED @@ -479,7 +479,7 @@ typedef struct TU_ATTR_PACKED{ } tusb_control_request_t; TU_BIT_FIELD_ORDER_END -TU_PACK_STRUCT_END // End of definition of packed structs (used by the CCRX toolchain) +TU_ATTR_PACKED_END // End of definition of packed structs (used by the CCRX toolchain) TU_VERIFY_STATIC( sizeof(tusb_control_request_t) == 8, "size is not correct"); |
