fix(yaesu): the RTTY sideband reaches the rig that is already connected
Ticking "RTTY on USB" changed nothing: the flag is deliberately absent from catLinkSig — none of these preferences is worth dropping the CAT link, and with it WSJT-X's rigctl session, to apply — so saving the settings left the link alone and the running client kept its old answer until the next launch. Preferences that the link does not depend on are now pushed to the connected rig when the settings are saved, through the Yaesu escape on the manager. SetRTTYUpper joins the controller interface for that: it is a preference rather than a command, but it has to be reachable on a rig that is already talking.
This commit is contained in:
@@ -84,6 +84,11 @@ type YaesuTXState struct {
|
||||
// same shape as FlexController and IcomController.
|
||||
type YaesuController interface {
|
||||
YaesuState() YaesuTXState
|
||||
// SetRTTYUpper is a preference, not a command — see Yaesu.SetRTTYUpper. It
|
||||
// belongs here so a change of mind reaches the RUNNING rig: the link is not
|
||||
// rebuilt for it, and until it was reachable this way the setting only took
|
||||
// effect on the next launch.
|
||||
SetRTTYUpper(bool)
|
||||
RefreshYaesu() error
|
||||
SetYaesuPower(int) error
|
||||
SetYaesuMicGain(int) error
|
||||
|
||||
Reference in New Issue
Block a user