Don't send a CW Id at the end of a lockout.

This commit is contained in:
Jonathan Naylor 2017-03-07 13:39:41 +00:00 committed by GitHub
parent a571a497e9
commit edd6708930

View file

@ -1268,7 +1268,7 @@ void CMMDVMHost::setMode(unsigned char mode)
m_modem->setMode(MODE_IDLE);
if (m_ump != NULL)
m_ump->setMode(MODE_IDLE);
if (m_mode == MODE_ERROR || m_mode == MODE_LOCKOUT) {
if (m_mode == MODE_ERROR) {
m_modem->sendCWId(m_callsign);
m_cwIdTimer.setTimeout(m_cwIdTime);
m_cwIdTimer.start();