Revert dcd_alloc_mem_for_conf() but keep changes from @kasjer for ISO EP

Add tud_audio_set_itf_close_EP_cb()
This commit is contained in:
Reinhard Panhuber
2020-10-09 19:50:05 +02:00
parent f700c08aed
commit 032e84c9be
5 changed files with 115 additions and 370 deletions

View File

@@ -272,6 +272,9 @@ TU_ATTR_WEAK bool tud_audio_int_ctr_done_cb(uint8_t rhport, uint16_t * n_bytes_c
// Invoked when audio set interface request received
TU_ATTR_WEAK bool tud_audio_set_itf_cb(uint8_t rhport, tusb_control_request_t const * p_request);
// Invoked when audio set interface request received which closes an EP
TU_ATTR_WEAK bool tud_audio_set_itf_close_EP_cb(uint8_t rhport, tusb_control_request_t const * p_request);
// Invoked when audio class specific set request received for an EP
TU_ATTR_WEAK bool tud_audio_set_req_ep_cb(uint8_t rhport, tusb_control_request_t const * p_request, uint8_t *pBuff);