diff --git a/transmit.py b/transmit.py index fc0f5303..a37c0914 100644 --- a/transmit.py +++ b/transmit.py @@ -1027,7 +1027,6 @@ if __name__ == "__main__": output(txLed, 0) if (mode == 'p') and (doppler_mode): update_doppler() - rpitx = "arecord -D plughw:CARD=Loopback,DEV=1 -f S16_LE -r 48000 -c 1 | csdr convert_s16_f | csdr gain_ff 4000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f " + tx + "e3 > /dev/null 2>&1 &" # print("0") else: # sleep(0.1) @@ -1041,7 +1040,9 @@ if __name__ == "__main__": system(stop_rpitx) output(txLed, 0) if (mode == 'p') and (doppler_mode): - update_doppler("no") + update_doppler() # "no") + rpitx = "arecord -D plughw:CARD=Loopback,DEV=1 -f S16_LE -r 48000 -c 1 | csdr convert_s16_f | csdr gain_ff 4000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f " + tx + "e3 > /dev/null 2>&1 &" + # print("0") # sleep(10)