File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -637,7 +637,9 @@ def _rock_pi_id(self) -> Optional[str]:
637
637
board = boards .ROCK_PI_E
638
638
if self .detector .check_board_name_value () == "ROCK Pi X" :
639
639
board = boards .ROCK_PI_X
640
- if board_value and "ROCK 5" in board_value .upper ():
640
+ if board_value and "ROCK 5C" in board_value .upper ():
641
+ board = boards .ROCK_PI_5C
642
+ elif board_value and "ROCK 5" in board_value .upper ():
641
643
board = boards .ROCK_PI_5
642
644
if board_value and "RADXA ROCK 4C+" in board_value .upper ():
643
645
board = boards .ROCK_PI_4_C_PLUS
Original file line number Diff line number Diff line change 207
207
ROCK_PI_X = "ROCK_PI_X"
208
208
ROCK_PI_E = "ROCK_PI_E"
209
209
ROCK_PI_5 = "ROCK_PI_5"
210
+ ROCK_PI_5C = "ROCK_PI_5C"
210
211
211
212
GREATFET_ONE = "GREATFET_ONE"
212
213
543
544
RADXA_ZERO ,
544
545
RADXA_ZERO3 ,
545
546
ROCK_PI_5 ,
547
+ ROCK_PI_5C ,
546
548
RADXA_CM3 ,
547
549
ROCK_PI_3A ,
548
550
ROCK_PI_3C ,
You can’t perform that action at this time.
0 commit comments