fix generic amd not returning a chip ref #96

This commit is contained in:
Michael Murton 2020-10-12 11:10:42 -04:00
parent 1a7e2714bc
commit e1661ce56a
No known key found for this signature in database
GPG key ID: 83FBE4DE13791011

View file

@ -161,6 +161,9 @@ class Chip:
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)