Unbreak the fix

This commit is contained in:
Kyle Brown 2019-07-15 17:28:30 -07:00
parent b6af43ef90
commit 004f40e7d2

View File

@ -351,8 +351,8 @@ class Firmware:
if self._state.hid_pending:
self._send_hid()
if self.pixels and self.pixels.enabled and self.pixels.animation_mode:
self.pixels.loopcounter +=1
if self.pixels and self.pixels.animation_mode:
self.pixels.loopcounter += 1
if self.pixels.loopcounter >= 7:
self.pixels = self.pixels.animate()
self.pixels.loopcounter = 0