Update led.py
This line also ends changing, otherwise the variable brightness is never used
This commit is contained in:
parent
8db4cbbf94
commit
37e67c7c44
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user