fix: the Flex panel DAX button now toggles the TRANSMIT-bar DAX (transmit set dax=), not the slice RX DAX channel — this is the button that routes TX audio through DAX (WSJT-X); state follows changes made in SmartSDR too

This commit is contained in:
2026-07-22 20:24:25 +02:00
parent 512b5fd35b
commit a9ca50b2dd
9 changed files with 46 additions and 19 deletions
+9
View File
@@ -10968,6 +10968,15 @@ func (a *App) FlexSetDAX(ch int) error {
}
return a.cat.FlexDo(func(fc cat.FlexController) error { return fc.SetDAX(ch) })
}
// FlexSetTXDAX toggles DAX as the transmit audio source — SmartSDR's
// transmit-bar DAX button (what WSJT-X TX audio goes through).
func (a *App) FlexSetTXDAX(on bool) error {
if a.cat == nil {
return fmt.Errorf("cat not initialized")
}
return a.cat.FlexDo(func(fc cat.FlexController) error { return fc.SetTXDAX(on) })
}
func (a *App) FlexSetTXFilter(low, high int) error {
if a.cat == nil {
return fmt.Errorf("cat not initialized")