We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc6b5c5 commit 0bcb1d0Copy full SHA for 0bcb1d0
adafruit_platformdetect/board.py
@@ -607,8 +607,7 @@ def _allwinner_variants_id(self) -> Optional[str]:
607
if "nanopi" in board_value:
608
if "neo" in board_value and "SUN8I" in chip_id:
609
board = boards.NANOPI_NEO_AIR
610
- # TODO: Add other specifc board contexts here
611
- elif "orange pi" in board_value:
+ elif any(x in board_value for x in ("orange pi", "orangepi")):
612
if "zero" in board_value:
613
if "H5" in chip_id:
614
board = boards.ORANGE_PI_ZERO_PLUS_2H5
0 commit comments