mirror of https://github.com/markqvist/MMDVM.git
Adding conditional compilation for LED selftest
parent
a805652f48
commit
ea37f67b91
7
IO.cpp
7
IO.cpp
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue