changed starfive board detection function

This commit is contained in:
DarkMechanikum 2024-06-26 23:58:26 +03:00
parent 9b6ad2b98b
commit 90295ca01b

View file

@ -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 model_value == "StarFive VisionFive V2":
model = boards.VISIONFIVE2
return model
def _pi_id(self) -> Optional[str]: