mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
Fix tud_sof_cb_enable() return type.
This commit is contained in:
parent
8f0459c89e
commit
a9745c9818
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user