mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 14:37:02 +00:00
Ensure all timers are stopped when we leave FM mode.
This commit is contained in:
parent
61ccd79c5f
commit
c8a450b00d
1 changed files with 7 additions and 0 deletions
7
FM.cpp
7
FM.cpp
|
|
@ -184,6 +184,13 @@ void CFM::stateMachine(bool validSignal, uint8_t length)
|
|||
if (!m_callsign.isRunning() && !m_rfAck.isRunning()) {
|
||||
DEBUG1("Change to STATE_IDLE");
|
||||
m_modemState = STATE_IDLE;
|
||||
m_callsignTimer.stop();
|
||||
m_timeoutTimer.stop();
|
||||
m_holdoffTimer.stop();
|
||||
m_kerchunkTimer.stop();
|
||||
m_ackMinTimer.stop();
|
||||
m_ackDelayTimer.stop();
|
||||
m_hangTimer.stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue