Rev 121 | Rev 136 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 121 | Rev 134 | ||
---|---|---|---|
Line 279... | Line 279... | ||
279 | UART0_Connect_to_MKGPS(); |
279 | UART0_Connect_to_MKGPS(); |
280 | } |
280 | } |
281 | abortState = 0; |
281 | abortState = 0; |
282 | break; |
282 | break; |
283 | } |
283 | } |
284 | // if the Debug uart is not UART1rederect input to the Debug UART |
284 | // if the Debug uart is not UART1, rederect input to the Debug UART |
285 | if (DebugUART != UART1) |
285 | if (DebugUART != UART1) |
286 | { |
286 | { |
287 | // wait for space in the tx buffer of the DebugUART |
287 | // wait for space in the tx buffer of the DebugUART |
288 | while(UART_GetFlagStatus(DebugUART, UART_FLAG_TxFIFOFull) == SET) {}; |
288 | while(UART_GetFlagStatus(DebugUART, UART_FLAG_TxFIFOFull) == SET) {}; |
289 | // move byte to the tx fifi of the debug uart |
289 | // move byte to the tx fifi of the debug uart |