diff options
-rw-r--r-- | os/hal/src/hal_serial_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/src/hal_serial_usb.c b/os/hal/src/hal_serial_usb.c index b97254fdd..480e4da4f 100644 --- a/os/hal/src/hal_serial_usb.c +++ b/os/hal/src/hal_serial_usb.c @@ -50,7 +50,6 @@ static cdc_linecoding_t linecoding = { /* Driver local functions. */
/*===========================================================================*/
-
static bool sdu_start_receive(SerialUSBDriver *sdup) {
uint8_t *buf;
@@ -480,6 +479,7 @@ void sduDataReceived(USBDriver *usbp, usbep_t ep) { so a packet is in the buffer for sure. Trying to get a free buffer
for the next transaction.*/
sdu_start_receive(sdup);
+
osalSysUnlockFromISR();
}
|