try rpitx restart instead of reboot

fm-rx
Alan Johnston 2 years ago committed by GitHub
parent b1a54e4229
commit af4e6944d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -409,7 +409,8 @@ if __name__ == "__main__":
else:
print("Turning of transmit and rebooting")
system("echo > command_tx False")
system("sudo reboot now")
system("sudo systemctl restart rpitx")
# system("sudo reboot now")
sleep(60)
if (command_tx == True):
output(txLed, txLedOn)
@ -440,7 +441,8 @@ if __name__ == "__main__":
else:
print("Turning of transmit and rebooting")
system("echo > command_tx False")
system("sudo reboot now")
system("sudo systemctl restart rpitx")
# system("sudo reboot now")
sleep(60)
if (command_tx == True):
output(txLed, txLedOn)

Loading…
Cancel
Save

Powered by TurnKey Linux.