remove out-of-scope reference
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user