Skip to content

Commit fb5cade

Browse files
committed
Model is Rock 3B and not Rock PI 3B
1 parent 6d44d27 commit fb5cade

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

adafruit_platformdetect/board.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ def _rk3568_id(self) -> Optional[str]:
646646
if board_value and "ROCK3 Model A" in board_value:
647647
board = boards.ROCK_PI_3A
648648
if board_value and "ROCK 3 Model B" in board_value:
649-
board = boards.ROCK_PI_3B
649+
board = boards.ROCK_3B
650650
if board_value and "Hardkernel ODROID-M1" in board_value:
651651
board = boards.ODROID_M1
652652
return board

adafruit_platformdetect/constants/boards.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
RADXA_CM3 = "RADXA_CM3"
209209

210210
ROCK_PI_3A = "ROCK_PI_3A"
211-
ROCK_PI_3B = "ROCK_PI_3B"
211+
ROCK_3B = "ROCK_3B"
212212
ROCK_PI_3C = "ROCK_PI_3C"
213213
ROCK_PI_S = "ROCK_PI_S"
214214
ROCK_PI_4 = "ROCK_PI_4"
@@ -602,7 +602,7 @@
602602
ROCK_PI_5C,
603603
RADXA_CM3,
604604
ROCK_PI_3A,
605-
ROCK_PI_3B,
605+
ROCK_3B,
606606
ROCK_PI_3C,
607607
)
608608

0 commit comments

Comments
 (0)