Revert "[rgb] fix set_rgb_fill method"

This reverts commit 90c4ce99f3ff781f8361f01c847ed0d60b037748.
This commit is contained in:
Kyle Brown 2022-06-08 16:40:40 -07:00 committed by xs5871
parent 8d7ae8b284
commit 91f494846a

View File

@ -287,9 +287,10 @@ class RGB(Extension):
Takes an RGB or RGBW and displays it on all LEDs/Neopixels
:param rgb: RGB or RGBW
'''
self.pixels.fill(rgb)
for pixels in self.pixels:
pixels.fill(rgb)
if not self.disable_auto_write:
self.pixels.show()
pixels.show()
def increase_hue(self, step=None):
'''