diff options
| author | Jeremiah McCarthy <[email protected]> | 2021-05-25 09:27:35 -0400 |
|---|---|---|
| committer | Jeremiah McCarthy <[email protected]> | 2021-05-25 09:27:35 -0400 |
| commit | ce59d69520166b37869cf83a3dab929c1b2c4ac4 (patch) | |
| tree | 1f1e1352941aa8c64d59e0e1bd426593ea77ae25 /src/common | |
| parent | 05892a5a1ee9c50cb966b2e8ec8243ef97f794e2 (diff) | |
| parent | ca8724ee08375e85c3a8fd15b5088d38c20c1ae8 (diff) | |
Merge remote-tracking branch 'official/master'
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 7703ebb7b..ec58a3181 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 { |
