diff --git a/Demo/AVR32_UC3/serial/serial.c b/Demo/AVR32_UC3/serial/serial.c index 2f1b1194d..83eb4023f 100644 --- a/Demo/AVR32_UC3/serial/serial.c +++ b/Demo/AVR32_UC3/serial/serial.c @@ -128,7 +128,7 @@ static portBASE_TYPE prvUSART_ISR_NonNakedBehaviour( void ) /* Because FreeRTOS is not supposed to run with nested interrupts, put all OS calls in a critical section . */ portENTER_CRITICAL(); - retstatus = xQueueSendFromISR(xRxedChars, &cChar, &xHigherPriorityTaskWoken); + xQueueSendFromISR(xRxedChars, &cChar, &xHigherPriorityTaskWoken); portEXIT_CRITICAL(); }