Adding quiet option behavior to mode leds

pull/18/head
Andy CA6JAU 8 years ago
parent 6df168a17d
commit 2af43c2592

@ -56,4 +56,7 @@
// Enable P25 Wide modulation:
// #define ENABLE_P25_WIDE
// Disable mode LEDs blink during scan mode:
// #define QUIET_MODE_LEDS
#endif

@ -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;

@ -56,4 +56,7 @@
// Enable P25 Wide modulation:
// #define ENABLE_P25_WIDE
// Disable mode LEDs blink during scan mode:
// #define QUIET_MODE_LEDS
#endif

@ -56,4 +56,7 @@
// Enable P25 Wide modulation:
// #define ENABLE_P25_WIDE
// Disable mode LEDs blink during scan mode:
// #define QUIET_MODE_LEDS
#endif

@ -56,4 +56,7 @@
// Enable P25 Wide modulation:
// #define ENABLE_P25_WIDE
// Disable mode LEDs blink during scan mode:
// #define QUIET_MODE_LEDS
#endif

@ -56,4 +56,7 @@
// Enable P25 Wide modulation:
// #define ENABLE_P25_WIDE
// Disable mode LEDs blink during scan mode:
// #define QUIET_MODE_LEDS
#endif

Loading…
Cancel
Save

Powered by TurnKey Linux.