Add YSF tx hang

This commit is contained in:
LucaMarche IZ1MLT
2018-06-06 08:20:43 +02:00
committed by GitHub
parent 7fb3175617
commit d6e1fadb16
8 changed files with 74 additions and 21 deletions
+5 -1
View File
@@ -260,11 +260,15 @@ void CIO::process()
m_watchdog = 0U;
}
if (m_ledCount >= 48000U) {
#if defined(CONSTANT_SRV_LED)
setLEDInt(true);
#else
if (m_ledCount >= 24000U) {
m_ledCount = 0U;
m_ledValue = !m_ledValue;
setLEDInt(m_ledValue);
}
#endif
} else {
if (m_ledCount >= 480000U) {
m_ledCount = 0U;