Support for USART1 LCD to SerialPort.cpp

pull/14/head
Andy CA6JAU 9 years ago
parent 0ec65dcbf7
commit 3ea4d243d6

@ -356,7 +356,7 @@ void CSerialPort::start()
{ {
beginInt(1U, 115200); beginInt(1U, 115200);
#if defined(SERIAL_REPEATER) #if defined(SERIAL_REPEATER) || defined(SERIAL_REPEATER_USART1)
beginInt(3U, 9600); beginInt(3U, 9600);
#endif #endif
} }
@ -536,7 +536,7 @@ void CSerialPort::process()
} }
break; break;
#if defined(SERIAL_REPEATER) #if defined(SERIAL_REPEATER) || defined(SERIAL_REPEATER_USART1)
case MMDVM_SERIAL: case MMDVM_SERIAL:
writeInt(3U, m_buffer + 3U, m_len - 3U); writeInt(3U, m_buffer + 3U, m_len - 3U);
break; break;
@ -554,7 +554,7 @@ void CSerialPort::process()
} }
} }
#if defined(SERIAL_REPEATER) #if defined(SERIAL_REPEATER) || defined(SERIAL_REPEATER_USART1)
// Drain any incoming serial data // Drain any incoming serial data
while (availableInt(3U)) while (availableInt(3U))
readInt(3U); readInt(3U);

Loading…
Cancel
Save

Powered by TurnKey Linux.