This commit is contained in:
Logan Cusano
2022-03-27 13:50:24 -04:00
parent f64a3dc517
commit 97aed314ba

View File

@@ -51,7 +51,7 @@ class OP25Handler(threading.Thread):
if self.OP25Proc is not None:
self.close_op25()
p25_kwargs = [f"./rx.py", "--args", "rtl", "-N", "LNA:49", "-s", "200000", "-o", "25600", "-U", "-f",
p25_kwargs = [f"{self.OP25Dir}/rx.py", "--args", "rtl", "-N", "LNA:49", "-s", "200000", "-o", "25600", "-U", "-f",
f"{self.Frequency}e6", "-X", "-2"]
#p25_kwargs = f"{self.OP25Dir}/rx.py --args rtl -N LNA:49 -s 200000 -o 25600 -U -f {self.Frequency}e6 -X -2"
@@ -71,7 +71,8 @@ class OP25Handler(threading.Thread):
print(p25_kwargs)
self.OP25Proc = subprocess.Popen(p25_kwargs, executable="/usr/bin/python3", shell=True, cwd=self.OP25Dir)
self.OP25Proc = subprocess.Popen(p25_kwargs, executable="/usr/bin/python3", shell=False,
stdout=subprocess.STDOUT, stderr=subprocess.STDOUT, cwd=self.OP25Dir)
#os.chdir(cwd)