Fix indentation for mode check in transmit.py

master-fsk-cw
Alan Johnston 2 weeks ago committed by GitHub
parent f8888355ee
commit 129b031c54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -282,7 +282,7 @@ if __name__ == "__main__":
uptime = float(up)
print(uptime)
extra = 0
if (mode == 'f')
if (mode == 'f'):
extra = 15
if (uptime < (uptime_time + extra)):
print("Uptime < threshold seconds")
@ -295,7 +295,7 @@ if __name__ == "__main__":
print("Can't open /proc/uptime")
print(skip)
if (mode == 'f')
if (mode == 'f'):
sleep(10) # wait to avoid restart and truncated cw id
try:
file = open("/home/pi/CubeSatSim/beacon_off")

Loading…
Cancel
Save

Powered by TurnKey Linux.