Fixed typo

This commit is contained in:
Kevin Kellner 2017-01-06 15:21:46 +01:00
parent ad0751bc9e
commit 9113f4258f

View File

@ -20,7 +20,7 @@ elif config.DEVICE == 'blinkstick':
from blinkstick import blinkstick from blinkstick import blinkstick
import atexit import atexit
stick = blinkstick.find_first() 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) all_off = [0]*(config.N_PIXELS*3)
atexit.register((lambda: stick.set_led_data(0, all_off))) atexit.register((lambda: stick.set_led_data(0, all_off)))