implement first stages of active mode communication

This commit is contained in:
Jakob Ketterl
2020-04-26 15:17:03 +02:00
parent e61d3a22a3
commit 907787cfdc
7 changed files with 96 additions and 30 deletions

View File

@ -1,5 +1,5 @@
from abc import ABC, abstractmethod
from owrx.service import ServiceDetector
from owrx.modes import Modes
from owrx.config import Config
@ -196,7 +196,7 @@ class MultiCheckboxInput(Input):
class ServicesCheckboxInput(MultiCheckboxInput):
def __init__(self, id, label, infotext=None):
services = [
Option(s, s.upper()) for s in ServiceDetector.getAvailableServices()
Option(s.modulation, s.name) for s in Modes.getAvailableServices()
]
super().__init__(id, label, services, infotext)