send bias tee configs for rtl_sdr

This commit is contained in:
Jakob Ketterl 2020-03-26 13:33:32 +01:00
parent b87f7017d1
commit 16d5db00af

View File

@ -1,6 +1,14 @@
from .connector import ConnectorSource
from owrx.command import Flag
class RtlSdrSource(ConnectorSource):
def getCommandMapper(self):
return super().getCommandMapper().setBase("rtl_connector")
return super().getCommandMapper().setBase("rtl_connector").setMappings(
{
"bias_tee": Flag("-b")
}
)
def getEventNames(self):
return super().getEventNames() + ["bias_tee"]