Call sim_failure_check before CW ID

Added sim_failure_check() call after restarting gpsd.socket.
master-fsk-cw
Alan Johnston 2 weeks ago committed by GitHub
parent 76bacabcc4
commit c74541ede0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -440,6 +440,7 @@ if __name__ == "__main__":
print("Restarting gpsd.socket") print("Restarting gpsd.socket")
system("sudo systemctl restart 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 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.setmode(GPIO.BCM) # added to make Tx LED work on Pi Zero 2 and Pi 4
GPIO.setup(txLed, GPIO.OUT) GPIO.setup(txLed, GPIO.OUT)

Loading…
Cancel
Save

Powered by TurnKey Linux.