We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f0459c commit a9745c9Copy full SHA for a9745c9
src/device/usbd.c
@@ -390,10 +390,9 @@ bool tud_connect(void) {
390
return true;
391
}
392
393
-bool tud_sof_cb_enable(bool en)
+void tud_sof_cb_enable(bool en)
394
{
395
usbd_sof_enable(_usbd_rhport, SOF_CONSUMER_USER, en);
396
- return true;
397
398
399
//--------------------------------------------------------------------+
src/device/usbd.h
@@ -98,7 +98,7 @@ bool tud_disconnect(void);
98
bool tud_connect(void);
99
100
// Enable or disable the Start Of Frame callback support
101
-bool tud_sof_cb_enable(bool en);
+void tud_sof_cb_enable(bool en);
102
103
// Carry out Data and Status stage of control transfer
104
// - If len = 0, it is equivalent to sending status only
0 commit comments