feat(icom): the ATU can be taken out of line

TUNE (1C 01 02) started a cycle; nothing sent the 0 that puts the tuner back
through. An ATU chip beside SPLIT now toggles it, and the tuner state is read
on the slow front-panel beat so the radio's own TUNER button stays in sync.
This commit is contained in:
2026-08-30 02:36:46 +02:00
parent 19134ea23c
commit db7ac771b1
8 changed files with 46 additions and 5 deletions
+8
View File
@@ -14533,6 +14533,14 @@ func (a *App) IcomSetSplit(on bool) error {
return a.cat.IcomDo(func(ic cat.IcomController) error { return ic.SetIcomSplit(on) })
}
// IcomSetATU puts the internal tuner in or out of line.
func (a *App) IcomSetATU(on bool) error {
if a.cat == nil {
return fmt.Errorf("cat not initialized")
}
return a.cat.IcomDo(func(ic cat.IcomController) error { return ic.SetATU(on) })
}
// IcomSetSplitOffset turns split on with a chosen TX offset (Hz) — the
// console's +1/+5/+10 kHz buttons.
func (a *App) IcomSetSplitOffset(hz int64) error {