BUGFIG never started OP25

This commit is contained in:
Logan Cusano
2022-02-18 00:50:21 -05:00
parent 65363e8238
commit 4dd7539c5b
2 changed files with 2 additions and 1 deletions

1
bot.py
View File

@@ -301,6 +301,7 @@ class Bot(commands.Bot):
elif self.Handler == 'op25':
self.OP25Handler.set_op25_parameters(self.freq)
self.OP25Handler.start()
# Set the started variable for later checks
self.sdr_started = True

View File

@@ -21,7 +21,7 @@ class OP25Handler(threading.Thread):
if self.OP25Proc is not None:
self.close_op25()
print(f"Starting OBS")
print(f"Starting OP25")
os.chdir(self.OP25Dir)
self.OP25Proc = subprocess.Popen([f"./rx.py", "--args", "'rtl'", "-N", "'LNA:49'", "-s", "200000", "-o",