value based on gain

This commit is contained in:
2026-03-03 11:59:21 +01:00
parent 6df2073174
commit e7f62bb7c0
3 changed files with 46 additions and 1 deletions

View File

@@ -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