value based on gain
This commit is contained in:
@@ -127,6 +127,15 @@ func NewModel(state *device.DeviceState, logBuffer *LogBuffer, notifyCh chan str
|
||||
Max: 100,
|
||||
Step: 5,
|
||||
},
|
||||
{
|
||||
Name: "Gain",
|
||||
Type: ControlSlider,
|
||||
GetValue: state.GetGain,
|
||||
SetValue: state.SetGain,
|
||||
Min: 1,
|
||||
Max: 100,
|
||||
Step: 1,
|
||||
},
|
||||
}
|
||||
|
||||
return m
|
||||
|
||||
Reference in New Issue
Block a user