diff --git a/pkg/tci/buttons.go b/pkg/tci/buttons.go index e32b58b..d1bfc5d 100644 --- a/pkg/tci/buttons.go +++ b/pkg/tci/buttons.go @@ -4,6 +4,7 @@ import ( "fmt" "image" "log" + "time" "github.com/ftl/hamradio" "github.com/ftl/hamradio/bandplan" @@ -564,6 +565,10 @@ func (b *SetFilterButton) Pressed() { } } + // add a grace period before setting the filter band, otherwise ExpertSDR will restore + // the last filter band for this mode and overwrite our setting + time.Sleep(200 * time.Millisecond) + err := b.client.SetRXFilterBand(b.currentTRX, b.bottomFrequency, b.topFrequency) if err != nil { log.Printf("cannot set rx filter band: %v", err)