mirror of
https://github.com/g4klx/MMDVM_HS.git
synced 2026-01-09 10:09:57 +01:00
Support for USART1 LCD to SerialPort.cpp
This commit is contained in:
parent
0ec65dcbf7
commit
3ea4d243d6
|
|
@ -356,7 +356,7 @@ void CSerialPort::start()
|
|||
{
|
||||
beginInt(1U, 115200);
|
||||
|
||||
#if defined(SERIAL_REPEATER)
|
||||
#if defined(SERIAL_REPEATER) || defined(SERIAL_REPEATER_USART1)
|
||||
beginInt(3U, 9600);
|
||||
#endif
|
||||
}
|
||||
|
|
@ -536,7 +536,7 @@ void CSerialPort::process()
|
|||
}
|
||||
break;
|
||||
|
||||
#if defined(SERIAL_REPEATER)
|
||||
#if defined(SERIAL_REPEATER) || defined(SERIAL_REPEATER_USART1)
|
||||
case MMDVM_SERIAL:
|
||||
writeInt(3U, m_buffer + 3U, m_len - 3U);
|
||||
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
|
||||
while (availableInt(3U))
|
||||
readInt(3U);
|
||||
|
|
|
|||
Loading…
Reference in a new issue