From c74541ede0f8078596b1e77bd90749b1a120dd18 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 22 Jan 2026 09:50:13 -0500 Subject: [PATCH] Call sim_failure_check before CW ID Added sim_failure_check() call after restarting gpsd.socket. --- transmit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/transmit.py b/transmit.py index 1d0f07ac..aaaa2c51 100644 --- a/transmit.py +++ b/transmit.py @@ -439,7 +439,8 @@ if __name__ == "__main__": if (gpsd_status == "active"): print("Restarting gpsd.socket") system("sudo systemctl restart gpsd.socket") - + + sim_failure_check() if (((mode == 'a') or (mode == 'b') or (mode == 'f') or (mode == 's') or (mode == 'j')) and (command_tx == True) and (skip == False)) or ((mode == 'e') and (command_tx == True)): # battery_saver_mode GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi Zero 2 and Pi 4 GPIO.setup(txLed, GPIO.OUT)