diff --git a/Config.h b/Config.h index 0362cf7..f7b8d62 100644 --- a/Config.h +++ b/Config.h @@ -56,4 +56,7 @@ // Enable P25 Wide modulation: // #define ENABLE_P25_WIDE +// Disable mode LEDs blink during scan mode: +// #define QUIET_MODE_LEDS + #endif diff --git a/IO.cpp b/IO.cpp index 13ad169..f94ea4f 100644 --- a/IO.cpp +++ b/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; diff --git a/configs/ZUMspot_Libre.h b/configs/ZUMspot_Libre.h index 0362cf7..f7b8d62 100644 --- a/configs/ZUMspot_Libre.h +++ b/configs/ZUMspot_Libre.h @@ -56,4 +56,7 @@ // Enable P25 Wide modulation: // #define ENABLE_P25_WIDE +// Disable mode LEDs blink during scan mode: +// #define QUIET_MODE_LEDS + #endif diff --git a/configs/ZUMspot_RPi.h b/configs/ZUMspot_RPi.h index dca35c0..0d26f22 100644 --- a/configs/ZUMspot_RPi.h +++ b/configs/ZUMspot_RPi.h @@ -56,4 +56,7 @@ // Enable P25 Wide modulation: // #define ENABLE_P25_WIDE +// Disable mode LEDs blink during scan mode: +// #define QUIET_MODE_LEDS + #endif diff --git a/configs/ZUMspot_USB.h b/configs/ZUMspot_USB.h index 3d124a6..41b9d26 100644 --- a/configs/ZUMspot_USB.h +++ b/configs/ZUMspot_USB.h @@ -56,4 +56,7 @@ // Enable P25 Wide modulation: // #define ENABLE_P25_WIDE +// Disable mode LEDs blink during scan mode: +// #define QUIET_MODE_LEDS + #endif diff --git a/configs/ZUMspot_duplex.h b/configs/ZUMspot_duplex.h index 3e81e9c..86a234f 100644 --- a/configs/ZUMspot_duplex.h +++ b/configs/ZUMspot_duplex.h @@ -56,4 +56,7 @@ // Enable P25 Wide modulation: // #define ENABLE_P25_WIDE +// Disable mode LEDs blink during scan mode: +// #define QUIET_MODE_LEDS + #endif