mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-16 00:34:12 +02:00
Fix typo
This commit is contained in:
@@ -426,10 +426,6 @@ void CSerialPort::process()
|
|||||||
m_ptr = 0U;
|
m_ptr = 0U;
|
||||||
m_len = 0U;
|
m_len = 0U;
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
m_ptr = 0U;
|
|
||||||
m_len = 0U;
|
|
||||||
}
|
|
||||||
} else if (m_ptr == 1U) {
|
} else if (m_ptr == 1U) {
|
||||||
// Handle the frame length
|
// Handle the frame length
|
||||||
m_len = m_buffer[m_ptr] = c;
|
m_len = m_buffer[m_ptr] = c;
|
||||||
@@ -682,7 +678,6 @@ void CSerialPort::process()
|
|||||||
uint16_t space = m_repeat.getData();
|
uint16_t space = m_repeat.getData();
|
||||||
if (space > 0U) {
|
if (space > 0U) {
|
||||||
int avail = availableForWriteInt(3U);
|
int avail = availableForWriteInt(3U);
|
||||||
|
|
||||||
if (avail < space)
|
if (avail < space)
|
||||||
space = avail;
|
space = avail;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user