File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ def any_udoo_board(self):
421
421
422
422
def any_asus_tinker_board (self ):
423
423
"""Check to see if the current board is an ASUS Tinker Board"""
424
- return self .id in boards . _ASUS_Tinker_Board
424
+ return self .ASUS_Tinker_Board
425
425
426
426
@property
427
427
def any_embedded_linux (self ):
Original file line number Diff line number Diff line change 23
23
PYBOARD = "PYBOARD"
24
24
NODEMCU = "NODEMCU"
25
25
GIANT_BOARD = "GIANT_BOARD"
26
+ ASUS_TINKER_BOARD = "ASUS_TINKER_BOARD"
26
27
27
28
# Clockwork Pi boards
28
29
CLOCKWORK_CPI3 = "CLOCKWORK_CPI3"
98
99
UDOO_BOLT_V3 = "UDOO_BOLT_V3"
99
100
UDOO_BOLT_V8 = "UDOO_BOLT_V8"
100
101
101
- ASUS_TINKER_BOARD = "ASUS_TINKER_BOARD"
102
-
103
102
# pylint: enable=bad-whitespace
104
103
105
104
# OrangePI
348
347
_PINE64_DEV_IDS = (PINE64 , PINEBOOK , PINEPHONE )
349
348
350
349
# ASUS Tinker Board
351
- _ASUS_TINKER_BOARD_DEV_IDS = ASUS_TINKER_BOARD
350
+ _ASUS_TINKER_BOARD_DEV_IDS = ( ASUS_TINKER_BOARD )
352
351
353
352
# UDOO
354
353
_UDOO_BOARD_IDS = {UDOO_BOLT_V8 : ("SC40-2000-0000-C0|C" ,)}
Original file line number Diff line number Diff line change 59
59
60
60
if detector .board .any_clockwork_pi :
61
61
print ("Clockwork Pi device detected." )
62
+
63
+ if detector .board .any_asus_tinker_board :
64
+ print ("ASUS Tinker Board device detected." )
You can’t perform that action at this time.
0 commit comments