mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-04 22:17:34 +00:00
add always-on feature
This commit is contained in:
parent
036442aa69
commit
42828dbf65
7 changed files with 27 additions and 18 deletions
|
|
@ -3,9 +3,8 @@ from owrx.command import Flag, Option
|
|||
|
||||
|
||||
class HackrfSource(DirectSource):
|
||||
def __init__(self, id, props):
|
||||
super().__init__(id, props)
|
||||
self.getCommandMapper().setBase("hackrf_transfer").setMappings(
|
||||
def getCommandMapper(self):
|
||||
return super().getCommandMapper().setBase("hackrf_transfer").setMappings(
|
||||
{
|
||||
"samp_rate": Option("-s"),
|
||||
"tuner_freq": Option("-f"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue