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 f6678a7 + baf3a77 commit 7e367e7Copy full SHA for 7e367e7
adafruit_matrixportal/network.py
@@ -32,7 +32,7 @@
32
import neopixel
33
from adafruit_portalbase.network import NetworkBase
34
35
-if os.uname().sysname == "samd51":
+if "samd51" in os.uname().sysname:
36
from adafruit_portalbase.wifi_coprocessor import WiFi
37
else:
38
from adafruit_portalbase.wifi_esp32s2 import WiFi
@@ -63,7 +63,7 @@ def __init__(self, **kwargs):
63
if "debug" in kwargs:
64
debug = kwargs.pop("debug")
65
66
- if os.uname().sysname != "samd51":
+ if "samd51" not in os.uname().sysname:
67
if "external_spi" in kwargs:
68
kwargs.pop("external_spi")
69
if "esp" in kwargs:
0 commit comments