mark Nanoleaf panels for update if updateEffect changes th effect.

This commit is contained in:
2021-05-23 14:44:38 +02:00
parent 11ef2997c8
commit d6fdb48023
+6
View File
@@ -300,6 +300,12 @@ func (b *bridge) updateEffect(ctx context.Context) error {
return models.ErrUnexpectedResponse
}
b.mu.Lock()
for _, panel := range b.panels {
panel.Stale = true
}
b.mu.Unlock()
return nil
}