mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-08-21 14:36:21 +02:00
Remove CSerialBuffer, use CRingBuffer
This commit is contained in:
@@ -76,9 +76,11 @@ void CP25TX::process()
|
||||
for (uint16_t i = 0U; i < m_txDelay; i++)
|
||||
m_poBuffer[m_poLen++] = P25_START_SYNC;
|
||||
} else {
|
||||
uint8_t length = m_buffer.get();
|
||||
uint8_t length;
|
||||
m_buffer.get(length);
|
||||
for (uint8_t i = 0U; i < length; i++) {
|
||||
uint8_t c = m_buffer.get();
|
||||
uint8_t c;
|
||||
m_buffer.get(c);
|
||||
m_poBuffer[m_poLen++] = c;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user