removed redundant channel loop

This commit is contained in:
Lars Hoogestraat 2022-05-03 20:45:44 +02:00
parent 673b862c19
commit 5f7bcb701e
1 changed files with 2 additions and 5 deletions

View File

@ -49,11 +49,8 @@ class BiasLightingMonitor(xbmc.Monitor):
if self.settings.get_mode() == 0:
if self.settings.get_color() == 0:
clear_mote()
for c in channels.items():
for pixel in range(NUM_PIXEL):
set_static_color(channels, pixel, self.settings.get_color(), self.settings.get_brightness())
mote.show()
for pixel in range(NUM_PIXEL):
set_static_color(channels, pixel, self.settings.get_color(), self.settings.get_brightness())
elif self.settings.get_mode() == 1:
capture = xbmc.RenderCapture()
capture.capture(WIDTH, HEIGHT)