Skip to content

Commit abfa20b

Browse files
authored
Merge pull request #179 from twa127/master
Re-order checks for Allwinner H616 and H6
2 parents 74533c3 + 1e5c42b commit abfa20b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

adafruit_platformdetect/chip.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,14 @@ def _linux_id(self):
213213
if self.detector.check_dt_compatible_value("sun50i-h5"):
214214
return chips.H5
215215

216-
if self.detector.check_dt_compatible_value("sun50i-h6"):
217-
return chips.H6
216+
if self.detector.check_dt_compatible_value("sun50i-h616"):
217+
return chips.H616
218218

219219
if self.detector.check_dt_compatible_value("sun50iw9"):
220220
return chips.H616
221221

222-
if self.detector.check_dt_compatible_value("sun50i-h616"):
223-
return chips.H616
222+
if self.detector.check_dt_compatible_value("sun50i-h6"):
223+
return chips.H6
224224

225225
if self.detector.check_dt_compatible_value("mediatek,mt8167"):
226226
return chips.MT8167

0 commit comments

Comments
 (0)