diff options
| author | hathach <[email protected]> | 2021-05-10 19:15:46 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-05-10 19:15:46 +0700 |
| commit | 13de8f5d98eceae8771af78e6acb126f8da19854 (patch) | |
| tree | d585558b97bb3823aad0afb3a82513d9fd598ff3 /src/common | |
| parent | 42a1d2f3b9d40b57a7ef8364c138d8274f1a0a8d (diff) | |
minor clean up
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index ba3fe2c41..922d3daff 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -309,6 +309,8 @@ typedef struct TU_ATTR_PACKED uint8_t bMaxPower ; ///< Maximum power consumption of the USB device from the bus in this specific configuration when the device is fully operational. Expressed in 2 mA units (i.e., 50 = 100 mA). } tusb_desc_configuration_t; +TU_VERIFY_STATIC( sizeof(tusb_desc_configuration_t) == 9, "size is not correct"); + /// USB Interface Descriptor typedef struct TU_ATTR_PACKED { |
