Skip to content
Permalink
Browse files

Add alternate FM LEDs for the POG board.

  • Loading branch information
g4klx committed Jun 1, 2020
1 parent 53d8cfa commit 598d32287d3e75313433d148140d306dd1662538
Showing with 9 additions and 1 deletion.
  1. +9 −1 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
@@ -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);

0 comments on commit 598d322

Please sign in to comment.
You can’t perform that action at this time.