Skip to content

Commit cd7b8d8

Browse files
hotfix - toggling led strip not working
1 parent 5698264 commit cd7b8d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helper/Strip.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ def toggle_strip(self):
9797
if self.is_strip_active():
9898
self.animation.fill(BLACK)
9999
self.animation.freeze()
100-
self.update_settings(is_active=True)
100+
self.update_settings(is_active=False)
101101
else:
102102
self.animation.fill(self.curr_color)
103103
self.animation.resume()
104-
self.update_settings(is_active=False)
104+
self.update_settings(is_active=True)
105105
self.pixels.show()
106106

107107
def get_curr_brightness(self) -> float:

0 commit comments

Comments
 (0)