implement gain dialog with AGC option
This commit is contained in:
@ -10,8 +10,9 @@ from abc import ABC, abstractmethod
|
||||
from owrx.command import CommandMapper
|
||||
from owrx.socket import getAvailablePort
|
||||
from owrx.property import PropertyStack, PropertyLayer
|
||||
from owrx.form import Input, TextInput, NumberInput, CheckboxInput, FloatInput
|
||||
from owrx.form.converter import IntConverter, OptionalConverter, FloatConverter
|
||||
from owrx.form import Input, TextInput, NumberInput, CheckboxInput
|
||||
from owrx.form.converter import IntConverter, OptionalConverter
|
||||
from owrx.form.device import GainInput
|
||||
from owrx.controllers.settings import Section
|
||||
from typing import List
|
||||
|
||||
@ -394,7 +395,7 @@ class SdrDeviceDescription(object):
|
||||
"Run background services on this device",
|
||||
converter=OptionalConverter(defaultFormValue=True),
|
||||
),
|
||||
FloatInput("rf_gain", "Device gain", converter=OptionalConverter(FloatConverter())),
|
||||
GainInput("rf_gain", "Device gain"),
|
||||
]
|
||||
|
||||
def mergeInputs(self, *args):
|
||||
|
Reference in New Issue
Block a user