mirror of
https://github.com/g4klx/MMDVM_HS.git
synced 2025-12-06 07:02:00 +01:00
Include service LED in QUIET_MODE_LEDS option
This commit is contained in:
parent
bd6217a4a6
commit
d1ac21188f
4
IO.cpp
4
IO.cpp
|
|
@ -114,11 +114,15 @@ void CIO::process()
|
||||||
m_watchdog = 0U;
|
m_watchdog = 0U;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(QUIET_MODE_LEDS)
|
||||||
|
LED_pin(HIGH);
|
||||||
|
#else
|
||||||
if (m_ledCount >= 24000U) {
|
if (m_ledCount >= 24000U) {
|
||||||
m_ledCount = 0U;
|
m_ledCount = 0U;
|
||||||
m_ledValue = !m_ledValue;
|
m_ledValue = !m_ledValue;
|
||||||
LED_pin(m_ledValue);
|
LED_pin(m_ledValue);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
if (m_ledCount >= 240000U) {
|
if (m_ledCount >= 240000U) {
|
||||||
m_ledCount = 0U;
|
m_ledCount = 0U;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue