changed starfive board detection function
This commit is contained in:
parent
90295ca01b
commit
96b0c0572c
1 changed files with 2 additions and 2 deletions
|
|
@ -231,8 +231,8 @@ class Board:
|
|||
model = None
|
||||
model_value = self.detector.get_device_model()
|
||||
print(model_value)
|
||||
#if model_value == "StarFive VisionFive V2":
|
||||
model = boards.VISIONFIVE2
|
||||
if "VisionFive" in model_value and "V2" in model_value:
|
||||
model = boards.VISIONFIVE2
|
||||
return model
|
||||
|
||||
def _pi_id(self) -> Optional[str]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue