Update chip.py

This commit is contained in:
Ste-Trat 2022-07-13 14:22:45 +02:00 committed by GitHub
parent 70bc67824f
commit 15bcc762e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,6 @@ from adafruit_platformdetect.constants import chips
__version__ = "0.0.0-auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PlatformDetect.git"
class Chip:
"""Attempt detection of current chip / CPU."""
@ -316,7 +315,7 @@ class Chip:
if not linux_id:
if "AM33XX" in hardware:
linux_id = chips.AM33XX
elif "DRA74X" in hardware:
elif "DRA74X" in hardware:
linux_id = chips.DRA74X
elif "sun8i" in hardware:
linux_id = chips.SUN8I