From f3da4360869d535945b0ae8ba83bd4d174f2d15e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 29 Dec 2025 19:28:28 -0500 Subject: [PATCH] Update dtmf_aprs_cc.py back to counter to avoid double beacon on/off --- dtmf_aprs_cc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dtmf_aprs_cc.py b/dtmf_aprs_cc.py index d7e786fd..9a7b25c2 100644 --- a/dtmf_aprs_cc.py +++ b/dtmf_aprs_cc.py @@ -109,8 +109,8 @@ if __name__ == "__main__": mode = 'o' change_mode = True -# if (debug_mode == False) and (change_mode == True) and (counter == 1): # skip every other APRS command since Direwolf prints them twice - if (debug_mode == False) and (change_mode == True): # skip every other APRS command since Direwolf prints them twice + if (debug_mode == False) and (change_mode == True) and (counter == 1): # skip every other APRS command since Direwolf prints them twice +## if (debug_mode == False) and (change_mode == True): # skip every other APRS command since Direwolf prints them twice GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(powerPin, GPIO.OUT)