Update transmit.py update fm in Pacsat battery saver

master-bf-pre2
Alan Johnston 3 days ago committed by GitHub
parent 2185f9fcd6
commit a3fe4c39e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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)

Loading…
Cancel
Save

Powered by TurnKey Linux.