Fix the TX Hang handling.

This commit is contained in:
Jonathan Naylor 2020-05-20 15:16:12 +01:00
parent 5f29808b80
commit 2cf2ce4dfa
4 changed files with 5 additions and 15 deletions

View file

@ -66,9 +66,6 @@ m_txCount(0U)
void CYSFTX::process()
{
if (m_buffer.getData() == 0U && m_poLen == 0U && m_txCount == 0U)
return;
// If we have YSF data to transmit, do so.
if (m_poLen == 0U && m_buffer.getData() > 0U) {
if (!m_tx) {
@ -191,4 +188,3 @@ void CYSFTX::setParams(bool on, uint8_t txHang)
m_loDev = on;
m_txHang = txHang * 1200U;
}