UART3 Debug/SPORT modes

This commit is contained in:
Bertrand Songis
2014-02-01 19:50:49 +01:00
parent cdfc8b5b2b
commit c3417a0d88
13 changed files with 68 additions and 18 deletions
+4
View File
@@ -534,6 +534,10 @@ void processSerialData(uint8_t data)
btPushByte(data);
#endif
if (g_eeGeneral.uart3Mode == UART_MODE_SPORT) {
uart3Putc(data);
}
if (data == START_STOP) {
dataState = STATE_DATA_IN_FRAME;
numPktBytes = 0;