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 7001c3b commit a35117bCopy full SHA for a35117b
adafruit_platformdetect/chip.py
@@ -104,9 +104,9 @@ def _linux_id(self): # pylint: disable=too-many-branches
104
if compatible and 'amlogic, g12b' in compatible:
105
linux_id = S922X
106
107
- machine = self.detector.get_cpuinfo_field("machine")
+ cpu_model = self.detector.get_cpuinfo_field("cpu model")
108
109
- if machine in ("Onion Omega", "Onion Omega2"):
+ if ("MIPS 24Kc") in cpu_model:
110
linux_id = ONION
111
112
elif hardware in ("BCM2708", "BCM2709", "BCM2835"):
0 commit comments