mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-08-21 14:36:21 +02:00
Try and make the closing callsign appear.
(cherry picked from commit 063b21f999)
This commit is contained in:
committed by
Geoffrey Merck
parent
3cc5d67696
commit
f9f81b9b8e
@@ -316,7 +316,7 @@ void CFM::stateMachine(bool validRFSignal, bool validExtSignal)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_state == FS_LISTENING && !m_rfAck.isRunning() && !m_extAck.isRunning()) {
|
if (m_state == FS_LISTENING && !m_rfAck.isWanted() && !m_extAck.isWanted() && !m_callsign.isWanted()) {
|
||||||
m_outputRFRB.reset();
|
m_outputRFRB.reset();
|
||||||
m_downsampler.reset();
|
m_downsampler.reset();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -205,6 +205,11 @@ void CFMKeyer::stop()
|
|||||||
m_audioPos = 0U;
|
m_audioPos = 0U;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CFMKeyer::isWanted() const
|
||||||
|
{
|
||||||
|
return m_wanted;
|
||||||
|
}
|
||||||
|
|
||||||
bool CFMKeyer::isRunning() const
|
bool CFMKeyer::isRunning() const
|
||||||
{
|
{
|
||||||
return m_poPos > 0U || m_dotPos > 0U || m_audioPos > 0U;
|
return m_poPos > 0U || m_dotPos > 0U || m_audioPos > 0U;
|
||||||
|
|||||||
Reference in New Issue
Block a user