Fix tud_sof_cb_enable() return type.

This commit is contained in:
HiFiPhile 2024-05-18 23:10:55 +02:00 committed by Andrew Leech
parent 8f0459c89e
commit a9745c9818
2 changed files with 2 additions and 3 deletions

View File

@ -390,10 +390,9 @@ bool tud_connect(void) {
return true;
}
bool tud_sof_cb_enable(bool en)
void tud_sof_cb_enable(bool en)
{
usbd_sof_enable(_usbd_rhport, SOF_CONSUMER_USER, en);
return true;
}
//--------------------------------------------------------------------+

View File

@ -98,7 +98,7 @@ bool tud_disconnect(void);
bool tud_connect(void);
// Enable or disable the Start Of Frame callback support
bool tud_sof_cb_enable(bool en);
void tud_sof_cb_enable(bool en);
// Carry out Data and Status stage of control transfer
// - If len = 0, it is equivalent to sending status only