Skip to content

Commit

Permalink
Add alternate FM LEDs for the POG board.
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed Jun 1, 2020
1 parent 53d8cfa commit 598d322
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion IOSTM_CMSIS.cpp
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2016 by Jim McLaughlin KI6ZUM
* Copyright (C) 2016, 2017 by Andy Uribe CA6JAU
* Copyright (C) 2017,2018 by Jonathan Naylor G4KLX
* Copyright (C) 2017,2018,2020 by Jonathan Naylor G4KLX
* Copyright (C) 2017 by Wojciech Krutnik N0CALL
*
* This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -460,6 +460,14 @@ void CIO::setPOCSAGInt(bool on)
#endif
}

void CIO::setFMInt(bool on)
{
#if defined(USE_ALTERNATE_FM_LEDS)
BB_DSTAR = !!on;
BB_YSF = !!on;
#endif
}

void CIO::delayInt(unsigned int dly)
{
delay(dly);
Expand Down

0 comments on commit 598d322

Please sign in to comment.