From 5decbe4af841bdef756e092b95d8a4623cc57c9f Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 27 Jul 2020 15:30:13 -0400 Subject: [PATCH] sleep after no BPF detected --- rpitx.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpitx.py b/rpitx.py index bffb5b20..fc572bfb 100644 --- a/rpitx.py +++ b/rpitx.py @@ -49,3 +49,5 @@ if __name__ == "__main__": os.system("sudo nc -l 8080 | csdr convert_i16_f | csdr gain_ff 7000 | csdr convert_f_samplerf 20833 | sudo /home/pi/rpitx/rpitx -i- -m RF -f 434.9e3") else: print("No Band Pass Filter so no telemetry transmit. See http://cubesatsim.org/wiki for instructions on how to build the BPF.") + while True: + time.sleep(5)