Fix compile issue for the serial repeater.

This commit is contained in:
Jonathan Naylor 2020-11-11 17:14:05 +00:00
parent 8240225371
commit fa9040fdf0
1 changed files with 2 additions and 1 deletions

View File

@ -906,7 +906,8 @@ void CSerialPort::process()
space = avail;
for (uint16_t i = 0U; i < space; i++) {
uint8_t c = m_repeat.get();
uint8_t c = 0U;
m_repeat.get(c);
writeInt(3U, &c, 1U);
}
}