changed starfive board detection function

This commit is contained in:
DarkMechanikum 2024-06-27 00:02:45 +03:00
parent 96b0c0572c
commit d8478ab127

View file

@ -230,7 +230,6 @@ class Board:
def _starfive_id(self) -> Optional[str]: def _starfive_id(self) -> Optional[str]:
model = None model = None
model_value = self.detector.get_device_model() model_value = self.detector.get_device_model()
print(model_value)
if "VisionFive" in model_value and "V2" in model_value: if "VisionFive" in model_value and "V2" in model_value:
model = boards.VISIONFIVE2 model = boards.VISIONFIVE2
return model return model