From bcfdb97796de2be912eba9ca49a21e4d7a17f98b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 16 Dec 2025 06:47:02 -0500 Subject: [PATCH] Update transmit.py print gpsd status --- transmit.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/transmit.py b/transmit.py index 28e705b1..34ec9ab1 100644 --- a/transmit.py +++ b/transmit.py @@ -408,6 +408,11 @@ if __name__ == "__main__": gpsd_status = e.stdout 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");