mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-01-04 15:50:12 +01:00
make hfdl available as a service
This commit is contained in:
parent
3d746b2491
commit
22b6d3e645
|
|
@ -188,6 +188,7 @@ class Modes(object):
|
|||
underlying=["empty"],
|
||||
bandpass=Bandpass(0, 3000),
|
||||
requirements=["dumphfdl"],
|
||||
service=True,
|
||||
squelch=False,
|
||||
),
|
||||
DigitalMode(
|
||||
|
|
|
|||
|
|
@ -315,6 +315,9 @@ class ServiceHandler(SdrSourceEventClient):
|
|||
elif mod == "adsb":
|
||||
from csdr.chain.dump1090 import Dump1090
|
||||
return Dump1090()
|
||||
elif mod == "hfdl":
|
||||
from csdr.chain.dumphfdl import DumpHFDL
|
||||
return DumpHFDL()
|
||||
|
||||
raise ValueError("unsupported service modulation: {}".format(mod))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue