Unbreak the fix

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

View File

@ -277,7 +277,7 @@ class Firmware:
self.col_pins = list(reversed(self.col_pins)) self.col_pins = list(reversed(self.col_pins))
if self.split_side == "Left": if self.split_side == "Left":
self.split_master_left = self.is_master self.split_master_left = self.is_master
elif self.split_side == "Right": elif self.split_side == "Right":
self.split_master_left = not self.is_master self.split_master_left = not self.is_master
else: else:
@ -351,8 +351,8 @@ class Firmware:
if self._state.hid_pending: if self._state.hid_pending:
self._send_hid() self._send_hid()
if self.pixels and self.pixels.enabled and self.pixels.animation_mode: if self.pixels and self.pixels.animation_mode:
self.pixels.loopcounter +=1 self.pixels.loopcounter += 1
if self.pixels.loopcounter >= 7: if self.pixels.loopcounter >= 7:
self.pixels = self.pixels.animate() self.pixels = self.pixels.animate()
self.pixels.loopcounter = 0 self.pixels.loopcounter = 0