void __attribute__((__interrupt__, auto_psv)) _U2TXInterrupt( void )\r
{\r
signed portCHAR cChar;\r
-portBASE_TYPE xTaskWoken = pdFALSE;\r
+portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;\r
\r
/* If the transmit buffer is full we cannot get the next character.\r
Another interrupt will occur the next time there is space so this does\r
IFS1bits.U2TXIF = serCLEAR_FLAG;\r
while( !( U2STAbits.UTXBF ) )\r
{\r
- if( xQueueReceiveFromISR( xCharsForTx, &cChar, &xTaskWoken ) == pdTRUE )\r
+ if( xQueueReceiveFromISR( xCharsForTx, &cChar, &xHigherPriorityTaskWoken ) == pdTRUE )\r
{\r
/* Send the next character queued for Tx. */\r
U2TXREG = cChar;\r
}\r
}\r
\r
- if( xTaskWoken != pdFALSE )\r
+ if( xHigherPriorityTaskWoken != pdFALSE )\r
{\r
taskYIELD();\r
}\r