From e1661ce56a8654bbc243627675cb735f87fe7b51 Mon Sep 17 00:00:00 2001 From: Michael Murton <6764025+CrazyIvan359@users.noreply.github.com> Date: Mon, 12 Oct 2020 11:10:42 -0400 Subject: [PATCH] fix generic amd not returning a chip ref #96 --- adafruit_platformdetect/chip.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/adafruit_platformdetect/chip.py b/adafruit_platformdetect/chip.py index eb3ce5b2..deb33717 100644 --- a/adafruit_platformdetect/chip.py +++ b/adafruit_platformdetect/chip.py @@ -161,6 +161,9 @@ def _linux_id(self): linux_id = chips.RYZEN_V1202B if "RYZEN EMBEDDED V1605B" in model_name: linux_id = chips.RYZEN_V1605B + else: + linux_id = chips.GENERIC_X86 + ## print("linux_id = ", linux_id) elif vendor_id == "GenuineIntel": model_name = self.detector.get_cpuinfo_field("model name").upper() ## print('model_name =', model_name)