Update adafruit_platformdetect/board.py
Co-authored-by: Melissa LeBlanc-Williams <melissa@adafruit.com>
This commit is contained in:
parent
d354b1fff5
commit
5e8e88c11b
1 changed files with 1 additions and 1 deletions
|
|
@ -511,7 +511,7 @@ class Board:
|
||||||
"""Check what type of rk3568 board."""
|
"""Check what type of rk3568 board."""
|
||||||
board_value = self.detector.get_device_model()
|
board_value = self.detector.get_device_model()
|
||||||
board = None
|
board = None
|
||||||
if board_value and "LubanCat-2" in board_value:
|
if board_value and any([x in board_value for x in ("LubanCat2", "LubanCat-2")]):
|
||||||
board = boards.LUBANCAT2
|
board = boards.LUBANCAT2
|
||||||
if board_value and "ROCK3 Model A" in board_value:
|
if board_value and "ROCK3 Model A" in board_value:
|
||||||
board = boards.ROCK_PI_3A
|
board = boards.ROCK_PI_3A
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue