delete sof callback

This commit is contained in:
sakumisu
2022-08-18 21:48:42 +08:00
parent 8798200305
commit 6e29b6a427
4 changed files with 1 additions and 19 deletions

View File

@@ -357,10 +357,6 @@ static void audio_notify_handler(uint8_t event, void *arg)
break;
case USBD_EVENT_SOF:
usbd_audio_sof_callback();
break;
case USBD_EVENT_SET_INTERFACE: {
struct usb_interface_descriptor *intf = (struct usb_interface_descriptor *)arg;
if (intf->bAlternateSetting == 1) {
@@ -464,8 +460,4 @@ __WEAK void usbd_audio_get_sampling_freq_table(uint8_t entity_id, uint8_t **samp
#endif
__WEAK void usbd_audio_set_pitch(uint8_t ep, bool enable)
{
}
__WEAK void usbd_audio_sof_callback(void)
{
}
}