From b681ec37246c028bb78ba8de5d5ce8db0baea184 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 31 Jul 2024 17:08:00 -0400 Subject: [PATCH] Update rpitx.py kill rpitx --- rpitx.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpitx.py b/rpitx.py index 991052f6..cf7994a9 100644 --- a/rpitx.py +++ b/rpitx.py @@ -763,7 +763,7 @@ if __name__ == "__main__": # print(txLed) # print(txLedOn) sleep(4.2) - elif (mode == 'e'): + elif (mode == 'e'): # code based on https://zr6aic.blogspot.com/2016/11/creating-2m-fm-repeater-with-raspberry.html print("Repeater") print("Stopping command and control") system("sudo systemctl stop command") @@ -791,6 +791,7 @@ if __name__ == "__main__": output(txLed, txLedOff) system("sudo killall -9 arecord") system("sudo killall -9 nc") + system("sudo killall -9 rpitx") else: print("FSK")