Allow for alternative LEDs for NXDN and POCSAG.

This commit is contained in:
Jonathan Naylor
2018-07-04 18:40:54 +01:00
parent 78d79d4124
commit a4af04fae2
5 changed files with 55 additions and 1 deletions
+10
View File
@@ -436,12 +436,22 @@ void CIO::setP25Int(bool on)
void CIO::setNXDNInt(bool on)
{
#if defined(USE_ALTERNATE_NXDN_LEDS)
BB_YSF = !!on;
BB_P25 = !!on;
#else
BB_NXDN = !!on;
#endif
}
void CIO::setPOCSAGInt(bool on)
{
#if defined(USE_ALTERNATE_POCSAG_LEDS)
BB_DSTAR = !!on;
BB_DMR = !!on;
#else
BB_POCSAG = !!on;
#endif
}
void CIO::delayInt(unsigned int dly)