Skip to content

Commit 82d923e

Browse files
authored
Merge pull request #105 from CrazyIvan359/fix-amdgeneric
Fix generic amd not returning a chip
2 parents 2079a98 + e1661ce commit 82d923e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adafruit_platformdetect/chip.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ def _linux_id(self):
161161
linux_id = chips.RYZEN_V1202B
162162
if "RYZEN EMBEDDED V1605B" in model_name:
163163
linux_id = chips.RYZEN_V1605B
164+
else:
165+
linux_id = chips.GENERIC_X86
166+
## print("linux_id = ", linux_id)
164167
elif vendor_id == "GenuineIntel":
165168
model_name = self.detector.get_cpuinfo_field("model name").upper()
166169
## print('model_name =', model_name)

0 commit comments

Comments
 (0)