implement the same fix for DMR and NXDN;

pull/128/head
Bryan Biedenkapp 3 months ago
parent 7cc073b3f0
commit d72b604aa9

@ -230,7 +230,9 @@ bool Slot::processFrame(uint8_t *data, uint32_t len)
}
if (m_rfState == RS_RF_AUDIO || m_rfState == RS_RF_DATA) {
if (m_rfLossWatchdog.isRunning()) {
// if RF TG hang is disabled, keep the loss watchdog alive from inbound
// RF frames so abrupt stream loss can still recover state.
if (m_rfTGHang.getTimeout() == 0U || m_rfLossWatchdog.isRunning()) {
m_rfLossWatchdog.start();
}
}

@ -403,7 +403,9 @@ bool Control::processFrame(uint8_t* data, uint32_t len)
}
if (m_rfState == RS_RF_AUDIO || m_rfState == RS_RF_DATA) {
if (m_rfLossWatchdog.isRunning()) {
// if RF TG hang is disabled, keep the loss watchdog alive from inbound
// RF frames so abrupt stream loss can still recover state.
if (m_rfTGHang.getTimeout() == 0U || m_rfLossWatchdog.isRunning()) {
m_rfLossWatchdog.start();
}
}

Loading…
Cancel
Save

Powered by TurnKey Linux.