Made "usb tx done" notification bypass the usual bounce via the main thread, made higher samplerate achievable
This commit is contained in:
+3
-3
@@ -81,9 +81,9 @@ void TaskMain(void const * argument)
|
||||
#endif
|
||||
|
||||
// CDC - config packets and data in/out
|
||||
if (msg & (USBEVT_FLAG_EPx_IN(CDC_IN_EP))) {
|
||||
USBD_CDC_DataIn(&hUsbDeviceFS, CDC_IN_EP);
|
||||
}
|
||||
// if (msg & (USBEVT_FLAG_EPx_IN(CDC_IN_EP))) {
|
||||
// USBD_CDC_DataIn(&hUsbDeviceFS, CDC_IN_EP);
|
||||
// }
|
||||
if (msg & (USBEVT_FLAG_EPx_IN(CDC_CMD_EP))) {
|
||||
USBD_CDC_DataIn(&hUsbDeviceFS, CDC_CMD_EP);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user