Fixed typo
This commit is contained in:
parent
ad0751bc9e
commit
9113f4258f
@ -20,7 +20,7 @@ elif config.DEVICE == 'blinkstick':
|
||||
from blinkstick import blinkstick
|
||||
import atexit
|
||||
stick = blinkstick.find_first()
|
||||
# Create a listener that shuts of the leds when the program terminates
|
||||
# Create a listener that turns the leds off when the program terminates
|
||||
all_off = [0]*(config.N_PIXELS*3)
|
||||
atexit.register((lambda: stick.set_led_data(0, all_off)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user