chore: release v0.22.9

This commit is contained in:
2026-08-02 06:40:10 +02:00
parent 296a4a55c0
commit f6cd6e999a
38 changed files with 1308 additions and 297 deletions
+8 -2
View File
@@ -14790,8 +14790,14 @@ func (a *App) AmpOperate(id string, on bool) error {
}
// AmpPower turns the given amp on/off (SPE and ACOM; the PGXL has no power
// command on its direct link).
func (a *App) AmpPower(id string, on bool) error {
// command on its direct link). Logged here because the UI buttons swallow the
// returned error — a failed power-on otherwise looks like a dead button.
func (a *App) AmpPower(id string, on bool) (err error) {
defer func() {
if err != nil {
applog.Printf("amp %s: power %v failed: %v", id, on, err)
}
}()
inst := a.ampInstByID(id)
if inst == nil {
return fmt.Errorf("amplifier not running — check Settings → Amplifier")