mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Fix compilation bugs.
This commit is contained in:
parent
cb51a14575
commit
e164538b09
3 changed files with 7 additions and 7 deletions
|
|
@ -103,7 +103,7 @@ unsigned int CAX25Network::read(unsigned char* data, unsigned int length)
|
|||
bool complete = false;
|
||||
|
||||
unsigned char c;
|
||||
while (m_serial.read(&c, 1U) > 0U) {
|
||||
while (m_serial.read(&c, 1U) > 0) {
|
||||
if (m_rxLength == 0U && c == AX25_FEND)
|
||||
m_rxData[m_rxLength++] = c;
|
||||
else if (m_rxLength > 0U)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue