Use DStar and DMR LEDs for POCSAG mode

until a separate POCSAG LED is available on newer boards
pull/45/head
phl0 8 years ago
parent dc9b8c28f6
commit 602d773377
No known key found for this signature in database
GPG Key ID: 48EA1E640798CA9A

@ -318,7 +318,10 @@ void CIO::NXDN_pin(bool on)
void CIO::POCSAG_pin(bool on)
{
// TODO: add a LED pin for POCSAG mode
// Use D-Star and DMR LED to indicate POCSAG mode
// TODO: add a separate LED pin for POCSAG mode
digitalWrite(PIN_DSTAR_LED, on ? HIGH : LOW);
digitalWrite(PIN_DMR_LED, on ? HIGH : LOW);
}
void CIO::PTT_pin(bool on)

@ -649,7 +649,10 @@ void CIO::NXDN_pin(bool on)
void CIO::POCSAG_pin(bool on)
{
// TODO: add a LED pin for POCSAG mode
// Use D-Star and DMR LED to indicate POCSAG mode
// TODO: add a separate LED pin for POCSAG mode
GPIO_WriteBit(PORT_DSTAR_LED, PIN_DSTAR_LED, on ? Bit_SET : Bit_RESET);
GPIO_WriteBit(PORT_DMR_LED, PIN_DMR_LED, on ? Bit_SET : Bit_RESET);
}
void CIO::PTT_pin(bool on)

Loading…
Cancel
Save

Powered by TurnKey Linux.