Skip to content

Commit 834f1b3

Browse files
committed
Changing to _ASUS_TINKER_BOARD_IDS
Updating to boards._ASUS_TINKER_BOARD_IDS
1 parent d81e9f7 commit 834f1b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

adafruit_platformdetect/board.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def id(self):
120120
elif chip_id == chips.RK3308:
121121
board_id = self._rock_pi_id()
122122
elif chip_id == chips.RK3288:
123-
board_id = boards.ASUS_TINKER_BOARD
123+
board_id = boards._ASUS_TINKER_BOARD_IDS
124124
elif chip_id == chips.RYZEN_V1605B:
125125
board_id = self._udoo_id()
126126

@@ -331,7 +331,7 @@ def _asus_tinker_board_id(self):
331331
board_value = self.detector.get_device_model()
332332
board = None
333333
if board_value and "ASUS Tinker Board" in board_value:
334-
board = boards.ASUS_TINKER_BOARD
334+
board = boards._ASUS_TINKER_BOARD_IDS
335335
return board
336336

337337
@property

adafruit_platformdetect/constants/boards.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@
357357
_PINE64_DEV_IDS = (PINE64, PINEBOOK, PINEPHONE)
358358

359359
# ASUS Tinker Board
360-
_ASUS_TINKER_BOARD_DEV_IDS = _ASUS_TINKER_BOARD
360+
_ASUS_TINKER_BOARD_DEV_IDS = ASUS_TINKER_BOARD
361361

362362
# UDOO
363363
_UDOO_BOARD_IDS = {UDOO_BOLT_V8: ("SC40-2000-0000-C0|C",)}

0 commit comments

Comments
 (0)