mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-05-07 13:37:48 +00:00
Fix the TX Hang handling.
This commit is contained in:
parent
5f29808b80
commit
2cf2ce4dfa
4 changed files with 5 additions and 15 deletions
|
|
@ -70,10 +70,7 @@ m_txCount(0U)
|
|||
|
||||
void CP25TX::process()
|
||||
{
|
||||
if (m_buffer.getData() == 0U && m_poLen == 0U && m_txCount == 0U)
|
||||
return;
|
||||
|
||||
if (m_poLen == 0U) {
|
||||
if (m_poLen == 0U && m_buffer.getData() > 0U) {
|
||||
if (!m_tx) {
|
||||
for (uint16_t i = 0U; i < m_txDelay; i++)
|
||||
m_poBuffer[m_poLen++] = P25_START_SYNC;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue