Adding conditional compilation for LED selftest

boxcar
Andy CA6JAU 2017-08-29 14:39:16 -03:00
parent a805652f48
commit ea37f67b91
1 changed files with 5 additions and 2 deletions

7
IO.cpp
View File

@ -107,15 +107,17 @@ void CIO::selfTest()
// We exclude PTT to avoid trigger the transmitter // We exclude PTT to avoid trigger the transmitter
setLEDInt(ledValue); setLEDInt(ledValue);
setCOSInt(ledValue);
#if defined(ARDUINO_MODE_PINS)
setDStarInt(ledValue); setDStarInt(ledValue);
setDMRInt(ledValue); setDMRInt(ledValue);
setYSFInt(ledValue); setYSFInt(ledValue);
setP25Int(ledValue); setP25Int(ledValue);
setCOSInt(ledValue); #endif
delayInt(250); delayInt(250);
} }
#if defined(ARDUINO_MODE_PINS)
setDStarInt(true); setDStarInt(true);
setDMRInt(false); setDMRInt(false);
setYSFInt(false); setYSFInt(false);
@ -169,6 +171,7 @@ void CIO::selfTest()
setDMRInt(false); setDMRInt(false);
setYSFInt(false); setYSFInt(false);
setP25Int(false); setP25Int(false);
#endif
} }
void CIO::start() void CIO::start()