remove out-of-scope reference
This commit is contained in:
parent
cd4ba26e95
commit
65f48b53a4
@ -42,7 +42,7 @@ class LED(Extension):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
raise InvalidExtensionEnvironment(
|
raise InvalidExtensionEnvironment(
|
||||||
f'Unable to create pwmio.PWMOut() instance with provided led_pin "{pin}"'
|
'Unable to create pwmio.PWMOut() instance with provided led_pin'
|
||||||
)
|
)
|
||||||
|
|
||||||
self._brightness = 0
|
self._brightness = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user