Fix tud_sof_cb_enable() return type.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user