From fd47b671f8eb9fe68c51c79b9b485bad45cbf4ac Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 17 Jun 2016 11:15:52 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9637 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/hal_serial_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v1.2.3