Update led.py

This line also ends changing, otherwise the variable brightness is never used
This commit is contained in:
nogg3r5 2022-06-28 10:52:45 +01:00 committed by Kyle Brown
parent 8db4cbbf94
commit 37e67c7c44

View File

@ -46,7 +46,7 @@ class LED(Extension):
'Unable to create pwmio.PWMOut() instance with provided led_pin'
)
self._brightness = 0
self._brightness = brightness
self._pos = 0
self._effect_init = False
self._enabled = True