|
|
|
|
@ -409,10 +409,10 @@ if __name__ == "__main__":
|
|
|
|
|
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 (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");
|
|
|
|
|
|