feat: New buttons for Icom Scope
This commit is contained in:
@@ -8024,6 +8024,15 @@ func (a *App) IcomSetScopeMode(fixed bool) error {
|
||||
return a.cat.IcomDo(func(ic cat.IcomController) error { return ic.SetScopeMode(fixed) })
|
||||
}
|
||||
|
||||
// IcomSetScopeEdges points the fixed-mode scope at [lowHz, highHz] — the panel's
|
||||
// "centre on VFO" (VFO±50 kHz) and pan ◀/▶ buttons.
|
||||
func (a *App) IcomSetScopeEdges(lowHz, highHz int64) error {
|
||||
if a.cat == nil {
|
||||
return fmt.Errorf("cat not initialized")
|
||||
}
|
||||
return a.cat.IcomDo(func(ic cat.IcomController) error { return ic.SetScopeEdges(lowHz, highHz) })
|
||||
}
|
||||
|
||||
// IcomSetRIT sets the RIT/ΔTX offset in signed Hz.
|
||||
func (a *App) IcomSetRIT(hz int) error {
|
||||
if a.cat == nil {
|
||||
|
||||
Reference in New Issue
Block a user