Skip to content

Commit

Permalink
Added chip detection
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymouscowhead committed Jan 13, 2024
1 parent 9d22bb6 commit 2b0643a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions adafruit_platformdetect/chip.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@ def _linux_id(self) -> Optional[str]:
if self.detector.check_dt_compatible_value("libretech,aml-s905x-cc"):
return chips.S905X

if self.detector.check_dt_compatible_value("light-lpi4a"):
return chips.TH1520

linux_id = None
hardware = self.detector.get_cpuinfo_field("Hardware")

Expand Down

0 comments on commit 2b0643a

Please sign in to comment.