git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9637 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
Giovanni Di Sirio 2016-06-17 11:15:52 +00:00
parent 371d3c186a
commit fd47b671f8
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,6 @@ static cdc_linecoding_t linecoding = {
/* Driver local functions. */ /* Driver local functions. */
/*===========================================================================*/ /*===========================================================================*/
static bool sdu_start_receive(SerialUSBDriver *sdup) { static bool sdu_start_receive(SerialUSBDriver *sdup) {
uint8_t *buf; 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 so a packet is in the buffer for sure. Trying to get a free buffer
for the next transaction.*/ for the next transaction.*/
sdu_start_receive(sdup); sdu_start_receive(sdup);
osalSysUnlockFromISR(); osalSysUnlockFromISR();
} }