|
|
@ -128,7 +128,7 @@ static portBASE_TYPE prvUSART_ISR_NonNakedBehaviour( void )
|
|
|
|
/* Because FreeRTOS is not supposed to run with nested interrupts, put all OS
|
|
|
|
/* Because FreeRTOS is not supposed to run with nested interrupts, put all OS
|
|
|
|
calls in a critical section . */
|
|
|
|
calls in a critical section . */
|
|
|
|
portENTER_CRITICAL();
|
|
|
|
portENTER_CRITICAL();
|
|
|
|
retstatus = xQueueSendFromISR(xRxedChars, &cChar, &xHigherPriorityTaskWoken);
|
|
|
|
xQueueSendFromISR(xRxedChars, &cChar, &xHigherPriorityTaskWoken);
|
|
|
|
portEXIT_CRITICAL();
|
|
|
|
portEXIT_CRITICAL();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|