mirror of
https://github.com/g4klx/MMDVM_HS.git
synced 2026-04-05 14:35:14 +00:00
Merge branch 'master' into duplex
This commit is contained in:
commit
ce36c8a63c
2 changed files with 11 additions and 3 deletions
|
|
@ -389,7 +389,7 @@ void CSerialPort::start()
|
|||
{
|
||||
beginInt(1U, 115200);
|
||||
|
||||
#if defined(SERIAL_REPEATER)
|
||||
#if defined(SERIAL_REPEATER) || defined(SERIAL_REPEATER_USART1)
|
||||
beginInt(3U, 9600);
|
||||
#endif
|
||||
}
|
||||
|
|
@ -627,7 +627,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;
|
||||
|
|
@ -645,7 +645,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…
Add table
Add a link
Reference in a new issue