Commit 5bd7243b authored by Fjen Undso's avatar Fjen Undso
Browse files

fix led index off by one error

parent 97dda306
......@@ -190,8 +190,8 @@ class NCHL:
color = [self.numbers[i].value for i in range(0, 4)]
for e in self.checkboxes_top + self.checkboxes_bottom:
if e.active:
self.strips[e.name].set_all(color)
self.strips[e.name].send()
self.strips[e.name - 1].set_all(color)
self.strips[e.name - 1].send()
if k == "KEY_RESIZE":
try:
self.setup_screen()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment