feat: DAX selector on the Flex panel — routes the active slice's RX audio to a DAX channel (slice dax=0-8, Off..8 dropdown next to the antenna selection, highlighted when active); changelog updated

This commit is contained in:
2026-07-22 17:33:45 +02:00
parent 77e3d011a0
commit 512b5fd35b
9 changed files with 54 additions and 7 deletions
+8
View File
@@ -10960,6 +10960,14 @@ func (a *App) FlexSetNRFLevel(l int) error {
}
return a.cat.FlexDo(func(fc cat.FlexController) error { return fc.SetNRFLevel(l) })
}
// FlexSetDAX routes the active slice's audio to a DAX channel (0 = off, 1-8).
func (a *App) FlexSetDAX(ch int) error {
if a.cat == nil {
return fmt.Errorf("cat not initialized")
}
return a.cat.FlexDo(func(fc cat.FlexController) error { return fc.SetDAX(ch) })
}
func (a *App) FlexSetTXFilter(low, high int) error {
if a.cat == nil {
return fmt.Errorf("cat not initialized")