mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-08-21 14:36:21 +02:00
Hold off the mode change until the ack and callsign have been
transmitted.
This commit is contained in:
@@ -235,14 +235,16 @@ void CFM::stateMachine(bool validSignal)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (m_state == FS_LISTENING && m_modemState == STATE_FM) {
|
if (m_state == FS_LISTENING && m_modemState == STATE_FM) {
|
||||||
DEBUG1("Change to STATE_IDLE");
|
if (!m_callsign.isRunning() && !m_rfAck.isRunning()) {
|
||||||
m_modemState = STATE_IDLE;
|
DEBUG1("Change to STATE_IDLE");
|
||||||
m_callsignTimer.stop();
|
m_modemState = STATE_IDLE;
|
||||||
m_timeoutTimer.stop();
|
m_callsignTimer.stop();
|
||||||
m_kerchunkTimer.stop();
|
m_timeoutTimer.stop();
|
||||||
m_ackMinTimer.stop();
|
m_kerchunkTimer.stop();
|
||||||
m_ackDelayTimer.stop();
|
m_ackMinTimer.stop();
|
||||||
m_hangTimer.stop();
|
m_ackDelayTimer.stop();
|
||||||
|
m_hangTimer.stop();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user