diff options
| author | MasterPhi <[email protected]> | 2021-07-04 00:19:33 +0200 |
|---|---|---|
| committer | MasterPhi <[email protected]> | 2021-07-04 15:46:12 +0200 |
| commit | 1c8b685457aee291f8352003c7ca7b852c412982 (patch) | |
| tree | ffac480131abee7a92c9014d33cd6a8af555e890 /examples | |
| parent | 61fd0e2c1cd60921ea3cc6de01534a1e512aff12 (diff) | |
Move audio_control_request_t to audio.h
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/device/uac2_headset/src/main.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/examples/device/uac2_headset/src/main.c b/examples/device/uac2_headset/src/main.c index b459bc2a8..ba27350b4 100644 --- a/examples/device/uac2_headset/src/main.c +++ b/examples/device/uac2_headset/src/main.c @@ -142,32 +142,6 @@ void tud_resume_cb(void) blink_interval_ms = BLINK_MOUNTED; } -typedef struct TU_ATTR_PACKED -{ - union - { - struct TU_ATTR_PACKED - { - uint8_t recipient : 5; ///< Recipient type tusb_request_recipient_t. - uint8_t type : 2; ///< Request type tusb_request_type_t. - uint8_t direction : 1; ///< Direction type. tusb_dir_t - } bmRequestType_bit; - - uint8_t bmRequestType; - }; - - uint8_t bRequest; ///< Request type audio_cs_req_t - uint8_t bChannelNumber; - uint8_t bControlSelector; - union - { - uint8_t bInterface; - uint8_t bEndpoint; - }; - uint8_t bEntityID; - uint16_t wLength; -} audio_control_request_t; - // Helper for clock get requests static bool tud_audio_clock_get_request(uint8_t rhport, audio_control_request_t const *request) { |
