Testing OP25 Improvements

- Introduced threading (again..)
This commit is contained in:
Logan Cusano
2022-03-19 00:46:13 -04:00
parent 1257b713fc
commit 4f230f8d33

View File

@@ -5,7 +5,7 @@ import os
import time
class OP25Handler: #(threading.Thread):
class OP25Handler(threading.Thread):
def __init__(self):
super().__init__()
self.OP25Dir: str = "/home/pi/op25/op25/gr-op25_repeater/apps"
@@ -15,7 +15,8 @@ class OP25Handler: #(threading.Thread):
self.HTTP_ENABLED = False
def start(self) -> None:
#def start(self) -> None:
def run(self) -> None:
self.open_op25()
def set_op25_parameters(self, _frequency, _http_enabled: bool = True):