File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -384,10 +384,10 @@ def _armbian_id(self) -> Optional[str]:
384
384
board = boards .ORANGE_PI_4
385
385
elif board_value == "orangepi4-lts" :
386
386
board = boards .ORANGE_PI_4_LTS
387
- elif board_value == "orangepi5" :
388
- board = boards .ORANGE_PI_5
389
387
elif board_value == "orangepi5-plus" :
390
388
board = boards .ORANGE_PI_5_PLUS
389
+ elif board_value == "orangepi5" :
390
+ board = boards .ORANGE_PI_5
391
391
elif board_value == "bananapim2zero" :
392
392
board = boards .BANANA_PI_M2_ZERO
393
393
elif board_value == "bananapim2plus" :
@@ -432,10 +432,10 @@ def _diet_pi_id(self) -> Optional[str]:
432
432
433
433
def _orange_pi_id (self ) -> Optional [str ]:
434
434
board_value = self .detector .get_device_model ()
435
- if "Orange Pi 5" in board_value :
436
- return boards .ORANGE_PI_5
437
435
if "Orange Pi 5 Plus" in board_value :
438
436
return boards .ORANGE_PI_5_PLUS
437
+ if "Orange Pi 5" in board_value :
438
+ return boards .ORANGE_PI_5
439
439
if "Orange Pi 3B" in board_value :
440
440
return boards .ORANGE_PI_3B
441
441
return None
You can’t perform that action at this time.
0 commit comments