mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
13 lines
349 B
Python
13 lines
349 B
Python
from .connector import ConnectorSource
|
|
from owrx.command import Flag, Option
|
|
|
|
|
|
class RtlSdrSource(ConnectorSource):
|
|
def getCommandMapper(self):
|
|
return (
|
|
super()
|
|
.getCommandMapper()
|
|
.setBase("rtl_connector")
|
|
.setMappings({"bias_tee": Flag("-b"), "direct_sampling": Option("-e")})
|
|
)
|