Merge from master #5

Merged
logan merged 65 commits from master into NoiseGateV2 2022-02-27 21:47:09 -05:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 2d6deeb212 - Show all commits

2
bot.py
View File

@@ -312,7 +312,7 @@ class Bot(commands.Bot):
# Wait for the running processes to close
if self.Handler == 'op25':
self.OP25Handler.close_op25()
self.OP25Handler.join()
#self.OP25Handler.join()
# Need a way to 'close' GQRX
self.sdr_started = False

View File

@@ -4,7 +4,7 @@ import time
import os
class OP25Handler(threading.Thread):
class OP25Handler: #(threading.Thread):
def __init__(self):
super().__init__()
self.OP25Dir: str = "/home/pi/op25/op25/gr-op25_repeater/apps"
@@ -12,7 +12,7 @@ class OP25Handler(threading.Thread):
self.Frequency = None
def run(self) -> None:
def start(self) -> None:
self.open_op25()
def set_op25_parameters(self, _frequency):