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 a35117b commit 8286f11Copy full SHA for 8286f11
adafruit_platformdetect/chip.py
@@ -22,7 +22,7 @@
22
HFU540 = "HFU540"
23
MCP2221 = "MCP2221"
24
BINHO = "BINHO"
25
-ONION = "ONION_OMEGA"
+MIPS24KC = "MIPS24KC"
26
27
class Chip:
28
"""Attempt detection of current chip / CPU."""
@@ -106,8 +106,8 @@ def _linux_id(self): # pylint: disable=too-many-branches
106
107
cpu_model = self.detector.get_cpuinfo_field("cpu model")
108
109
- if ("MIPS 24Kc") in cpu_model:
110
- linux_id = ONION
+ if "MIPS 24Kc" in cpu_model:
+ linux_id = MIPS24KC
111
112
elif hardware in ("BCM2708", "BCM2709", "BCM2835"):
113
linux_id = BCM2XXX
0 commit comments