We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25bc43f + 257520c commit 4e78995Copy full SHA for 4e78995
adafruit_matrixportal/network.py
@@ -57,8 +57,8 @@ def __init__(self, **kwargs):
57
if "debug" in kwargs:
58
debug = kwargs.pop("debug")
59
60
- if "status_neopixel" in kwargs:
61
- status_neopixel = kwargs.pop("status_neopixel")
+ status_neopixel = kwargs.pop("status_neopixel", None)
+ if status_neopixel:
62
status_led = neopixel.NeoPixel(status_neopixel, 1, brightness=0.2)
63
else:
64
status_led = None
0 commit comments