Skip to content

Commit

Permalink
Neopixel are now controllable while the mcu is shut down
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeanon committed Jun 19, 2023
1 parent df3e65d commit 082ae5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/led_effect.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ def _getFrames(self, eventtime):
for chain in chainsToUpdate:
if hasattr(chain,"prev_data"):
chain.prev_data = None # workaround to force update of dotstars
if not self.shutdown:
chain.led_helper.update_func(chain.led_helper.led_state, None)
chain.led_helper.update_func(chain.led_helper.led_state, None)
if self.effects:
next_eventtime=min(self.effects, key=lambda x: x.nextEventTime)\
.nextEventTime
Expand Down

0 comments on commit 082ae5b

Please sign in to comment.