We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fbc1f0 commit ce32900Copy full SHA for ce32900
adafruit_platformdetect/board.py
@@ -635,10 +635,10 @@ def _rock_pi_id(self) -> Optional[str]:
635
board = boards.ROCK_PI_E
636
if self.detector.check_board_name_value() == "ROCK Pi X":
637
board = boards.ROCK_PI_X
638
- if board_value and "ROCK 5" in board_value.upper():
639
- board = boards.ROCK_PI_5
640
if board_value and "ROCK 5C" in board_value.upper():
641
board = boards.ROCK_PI_5C
+ elif board_value and "ROCK 5" in board_value.upper():
+ board = boards.ROCK_PI_5
642
if board_value and "RADXA ROCK 4C+" in board_value.upper():
643
board = boards.ROCK_PI_4_C_PLUS
644
if board_value and "RADXA ROCK 4SE" in board_value.upper():
0 commit comments