Rename MODE_PINS to MODE_LEDS

This commit is contained in:
phl0 2018-08-01 21:09:57 +02:00
parent 5405395e1a
commit 5f19cfcb49
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A
7 changed files with 10 additions and 10 deletions

6
IO.cpp
View file

@ -137,7 +137,7 @@ void CIO::selfTest()
// We exclude PTT to avoid trigger the transmitter
setLEDInt(ledValue);
setCOSInt(ledValue);
#if defined(MODE_PINS)
#if defined(MODE_LEDS)
setDStarInt(ledValue);
setDMRInt(ledValue);
setYSFInt(ledValue);
@ -148,7 +148,7 @@ void CIO::selfTest()
delayInt(250);
}
#if defined(MODE_PINS)
#if defined(MODE_LEDS)
setDStarInt(true);
setDMRInt(false);
setYSFInt(false);
@ -546,7 +546,7 @@ void CIO::setADCDetection(bool detect)
void CIO::setMode()
{
#if defined(MODE_PINS)
#if defined(MODE_LEDS)
setDStarInt(m_modemState == STATE_DSTAR);
setDMRInt(m_modemState == STATE_DMR);
setYSFInt(m_modemState == STATE_YSF);