changed starfive board detection function
This commit is contained in:
parent
aa493d0319
commit
d4d2c00f67
1 changed files with 2 additions and 2 deletions
|
|
@ -229,8 +229,8 @@ class Board:
|
|||
# pylint: enable=invalid-name
|
||||
def _starfive_id(self) -> Optional[str]:
|
||||
model = None
|
||||
board_value = self.detector.get_device_compatible()
|
||||
if 'visionfive-v2starfive' in str(board_value):
|
||||
model_value = self.detector.get_device_model()
|
||||
if model_value == "StarFive VisionFive V2":
|
||||
model = boards.VISIONFIVE2
|
||||
return model
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue