mirror of
https://github.com/g4klx/MMDVM_HS.git
synced 2026-04-10 08:53:36 +00:00
Adding quiet option behavior to mode leds
This commit is contained in:
parent
6df168a17d
commit
2af43c2592
6 changed files with 22 additions and 0 deletions
7
IO.cpp
7
IO.cpp
|
|
@ -145,7 +145,9 @@ void CIO::process()
|
|||
m_modeTimerCnt = 0;
|
||||
if( (m_modemState == STATE_IDLE) && (m_scanPauseCnt == 0) && m_scanEnable) {
|
||||
m_scanPos = (m_scanPos + 1) % m_TotalModes;
|
||||
#if !defined(QUIET_MODE_LEDS)
|
||||
setMode(m_Modes[m_scanPos]);
|
||||
#endif
|
||||
io.ifConf(m_Modes[m_scanPos], true);
|
||||
}
|
||||
}
|
||||
|
|
@ -293,6 +295,11 @@ void CIO::setDecode(bool dcd)
|
|||
m_dcd = dcd;
|
||||
}
|
||||
|
||||
void CIO::setLoDevYSF(bool on)
|
||||
{
|
||||
m_LoDevYSF = on;
|
||||
}
|
||||
|
||||
void CIO::resetWatchdog()
|
||||
{
|
||||
m_watchdog = 0U;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue