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.
1 parent 25bc43f commit 257520cCopy full SHA for 257520c
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