summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c3
-rw-r--r--src/device/usbd.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 0fb0aed4e..922faf112 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -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;
}
//--------------------------------------------------------------------+
diff --git a/src/device/usbd.h b/src/device/usbd.h
index cba94fdae..e439dd961 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -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