Skip to content

Commit 421e4ca

Browse files
authored
Update board.py
1 parent 9b871b6 commit 421e4ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_platformdetect/board.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def id(self):
118118
elif chip_id == chips.A64:
119119
board_id = self._pine64_id()
120120
elif chip_id == chips.H6:
121-
board_id = self._pine64_id()
121+
board_id = self._pine64_id() or self._armbian_id()
122122
elif chip_id == chips.H5:
123123
board_id = self._armbian_id() or self._allwinner_variants_id()
124124
elif chip_id == chips.H616:
@@ -294,6 +294,8 @@ def _armbian_id(self):
294294
board = boards.PINEH64
295295
elif board_value == "orangepi2":
296296
board = boards.ORANGE_PI_2
297+
elif board_value == "orangepi3":
298+
board = boards.ORANGE_PI_3
297299
elif board_value == "bananapim2zero":
298300
board = boards.BANANA_PI_M2_ZERO
299301
elif board_value == "orangepizeroplus2-h5":

0 commit comments

Comments
 (0)