From ea37f67b911002d8fad8482eda2085c07ad08ee7 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Tue, 29 Aug 2017 14:39:16 -0300 Subject: [PATCH] Adding conditional compilation for LED selftest --- IO.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/IO.cpp b/IO.cpp index c1633db..068a2e1 100644 --- a/IO.cpp +++ b/IO.cpp @@ -107,15 +107,17 @@ void CIO::selfTest() // We exclude PTT to avoid trigger the transmitter setLEDInt(ledValue); + setCOSInt(ledValue); +#if defined(ARDUINO_MODE_PINS) setDStarInt(ledValue); setDMRInt(ledValue); setYSFInt(ledValue); setP25Int(ledValue); - setCOSInt(ledValue); - +#endif delayInt(250); } +#if defined(ARDUINO_MODE_PINS) setDStarInt(true); setDMRInt(false); setYSFInt(false); @@ -169,6 +171,7 @@ void CIO::selfTest() setDMRInt(false); setYSFInt(false); setP25Int(false); +#endif } void CIO::start()