From 90220cbb9d282fb716188a58ecd0645de88f6c82 Mon Sep 17 00:00:00 2001 From: Clint Chance Date: Sun, 12 Jul 2026 16:42:58 -0500 Subject: [PATCH] Fix the FM mode LED pin guard on the Arduino Due. The pinMode() call for PIN_FM was guarded by USE_ALTERNATE_POCSAG_LEDS instead of USE_ALTERNATE_FM_LEDS, a copy and paste error. The Teensy version and the setFMInt() implementation in this file both use the FM macro. --- IODue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IODue.cpp b/IODue.cpp index e77c388..8b5655f 100644 --- a/IODue.cpp +++ b/IODue.cpp @@ -110,7 +110,7 @@ void CIO::initInt() #if !defined(USE_ALTERNATE_POCSAG_LEDS) pinMode(PIN_POCSAG, OUTPUT); #endif -#if !defined(USE_ALTERNATE_POCSAG_LEDS) +#if !defined(USE_ALTERNATE_FM_LEDS) pinMode(PIN_FM, OUTPUT); #endif #endif