diff options
| author | hathach <[email protected]> | 2025-02-23 22:21:55 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-02-24 10:55:03 +0700 |
| commit | 71e046d9ffb6e388052b02f8230de51bfeb5b0ed (patch) | |
| tree | cc536c43b655e0e90238bb6c2e78eb0be63c571e /src/class/audio/audio.h | |
| parent | b12c8a90125b99b71ab3409c10424d3f8ad0736b (diff) | |
add tuh_midi_descriptor_cb()
Diffstat (limited to 'src/class/audio/audio.h')
| -rw-r--r-- | src/class/audio/audio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/class/audio/audio.h b/src/class/audio/audio.h index 2f97c0f23..0d1acadcc 100644 --- a/src/class/audio/audio.h +++ b/src/class/audio/audio.h @@ -661,6 +661,7 @@ typedef struct TU_ATTR_PACKED uint16_t wTotalLength ; ///< Total number of bytes returned for the class-specific AudioControl interface descriptor. Includes the combined length of this descriptor header and all Clock Source, Unit and Terminal descriptors. uint8_t bmControls ; ///< See: audio_cs_ac_interface_control_pos_t. } audio_desc_cs_ac_interface_t; +TU_VERIFY_STATIC(sizeof(audio_desc_cs_ac_interface_t) == 9, "size is not correct"); /// AUDIO Clock Source Descriptor (4.7.2.1) typedef struct TU_ATTR_PACKED |
