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.
2 parents 69daccf + 184e5a9 commit 2b3b7efCopy full SHA for 2b3b7ef
adafruit_platformdetect/board.py
@@ -622,8 +622,7 @@ def _allwinner_variants_id(self) -> Optional[str]:
622
if "nanopi" in board_value:
623
if "neo" in board_value and "SUN8I" in chip_id:
624
board = boards.NANOPI_NEO_AIR
625
- # TODO: Add other specifc board contexts here
626
- elif "orange pi" in board_value:
+ elif any(x in board_value for x in ("orange pi", "orangepi")):
627
if "zero" in board_value:
628
if "H5" in chip_id:
629
board = boards.ORANGE_PI_ZERO_PLUS_2H5
0 commit comments