Handle being in DMR mode with no transmitter on.

This commit is contained in:
Jonathan Naylor 2016-03-30 07:48:56 +01:00
parent f7395a5a22
commit 90186cbf90
1 changed files with 1 additions and 1 deletions

2
IO.cpp
View File

@ -227,7 +227,7 @@ void CIO::process()
// Two seconds timeout
if (m_watchdog >= 48000U) {
if (m_modemState == STATE_DSTAR || m_modemState == STATE_DMR || m_modemState == STATE_YSF) {
if (m_modemState == STATE_DMR)
if (m_modemState == STATE_DMR && m_tx)
dmrTX.setStart(false);
m_modemState = STATE_IDLE;
}