#define mainCOM_TEST_LED ( 1 )\r
\r
/* The baud rate used by the comtest tasks. */\r
-#define mainCOM_TEST_BAUD_RATE ( 115200 )\r
+#define mainCOM_TEST_BAUD_RATE ( 38400 )\r
\r
/* The maximum number of lines of text that can be displayed on the LCD. */\r
#define mainMAX_LCD_LINES ( 8 )\r
signed char cChar;\r
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;\r
\r
- while( ( UCA1IFG & UCRXIFG ) != 0 )\r
+ if( ( UCA1IFG & UCRXIFG ) != 0 )\r
{\r
/* Get the character from the UART and post it on the queue of Rxed\r
characters. */\r
cChar = UCA1RXBUF;\r
xQueueSendFromISR( xRxedChars, &cChar, &xHigherPriorityTaskWoken );\r
- }\r
- \r
- /* If there is a Tx interrupt pending and the tx interrupts are enabled. */\r
- if( ( UCA1IFG & UCTXIFG ) != 0 )\r
+ } \r
+ else if( ( UCA1IFG & UCTXIFG ) != 0 )\r
{\r
/* The previous character has been transmitted. See if there are any\r
further characters waiting transmission. */\r
\r
/* Can be modified to test the use of high memory. */\r
/* Original line. */\r
- .text : {}>> FLASH | FLASH2 /* CODE */\r
+ .text : {}>> FLASH | FLASH2 /* CODE */\r
/* Modified line. */\r
-/* .text : {}>> FLASH2 */ /* CODE */\r
+/* .text : {} >> FLASH2 */ /* CODE */\r
.main : {} > FLASH\r
.text:_isr : {} > FLASH /* ISR CODE SPACE */\r
.cinit : {} > FLASH /* INITIALIZATION TABLES */\r