From 0a46f27f1ef1ec8bafde3e8f0086e1aedf8cdd78 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 16 Dec 2025 06:53:43 -0500 Subject: [PATCH] Update transmit.py don't program fm if gpsd running --- transmit.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/transmit.py b/transmit.py index b620377d..786fc94e 100644 --- a/transmit.py +++ b/transmit.py @@ -408,12 +408,7 @@ if __name__ == "__main__": gpsd_status = e.stdout.strip() print(f"Output of the command (stdout): {e.stdout}") # print(f"Error output of the command (stderr): {e.stderr}") - -# if (gpsd_status == "active"): -# print("gpsd status is active" -# if (gpsd_status == "inactive"): -# print("gpsd status is inactive" - + if (mode != 'e') and (gpsd_status != "active"): print("Programming FM module!\n"); output(pd, 1)