changed starfive board detection function

This commit is contained in:
DarkMechanikum 2024-06-26 23:39:09 +03:00
parent 5a4de64344
commit b6162a3c20

View file

@ -233,8 +233,8 @@ class Board:
board_value = self.detector.get_device_compatible()
if "visionfive-v2starfive" in board_value:
model = boards.VISIONFIVE2
print(board_value == "starfive,visionfive-v2starfive,jh7110")
print(type(board_value))
print(type("visionfive-v2starfive"))
return model
def _pi_id(self) -> Optional[str]:
"""Try to detect id of a Raspberry Pi."""