|
|
|
@ -180,15 +180,14 @@ unsigned portCHAR ucByte;
|
|
|
|
|
|
|
|
|
|
__interrupt void SIG_UART_RECV( void )
|
|
|
|
|
{
|
|
|
|
|
signed portCHAR cChar;
|
|
|
|
|
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
|
|
|
|
signed portCHAR ucChar, xHigherPriorityTaskWoken = pdFALSE;
|
|
|
|
|
|
|
|
|
|
/* Get the character and post it on the queue of Rxed characters.
|
|
|
|
|
If the post causes a task to wake force a context switch as the woken task
|
|
|
|
|
may have a higher priority than the task we have interrupted. */
|
|
|
|
|
cChar = UDR;
|
|
|
|
|
ucChar = UDR;
|
|
|
|
|
|
|
|
|
|
xQueueSendFromISR( xRxedChars, &cChar, &xHigherPriorityTaskWoken );
|
|
|
|
|
xQueueSendFromISR( xRxedChars, &ucChar, &xHigherPriorityTaskWoken );
|
|
|
|
|
|
|
|
|
|
if( xHigherPriorityTaskWoken != pdFALSE )
|
|
|
|
|
{
|
|
|
|
|