fix for dotstars

This commit is contained in:
Roy Hooper 2020-01-01 17:48:24 -05:00
parent 1ee581d609
commit bad8defb8a

View file

@ -400,7 +400,7 @@ class Pulse(Animation):
def _pulse_generator(self, period):
period = int(period * NANOS_PER_SECOND)
white = len(self.pixel_object[0]) > 3
white = len(self.pixel_object[0]) > 3 and type(self.pixel_object[0][-1]) is not float
half_period = period // 2
last_update = monotonic_ns()