You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/class/audio/audio_device.c
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -303,8 +303,6 @@ typedef struct
303
303
304
304
boolmounted; // Device opened
305
305
306
-
/*------------- From this point, data is not cleared by bus reset -------------*/
307
-
308
306
uint16_tdesc_length; // Length of audio function descriptor
309
307
310
308
#ifCFG_TUD_AUDIO_ENABLE_FEEDBACK_EP
@@ -369,6 +367,8 @@ typedef struct
369
367
#endif
370
368
#endif
371
369
370
+
/*------------- From this point, data is not cleared by bus reset -------------*/
371
+
372
372
// Buffer for control requests
373
373
uint8_t*ctrl_buf;
374
374
uint8_tctrl_buf_sz;
@@ -377,14 +377,10 @@ typedef struct
377
377
uint8_t*alt_setting; // We need to save the current alternate setting this way, because it is possible that there are AS interfaces which do not have an EP!
0 commit comments