changed starfive board detection function
This commit is contained in:
parent
5a4de64344
commit
b6162a3c20
1 changed files with 1 additions and 1 deletions
|
|
@ -233,8 +233,8 @@ class Board:
|
||||||
board_value = self.detector.get_device_compatible()
|
board_value = self.detector.get_device_compatible()
|
||||||
if "visionfive-v2starfive" in board_value:
|
if "visionfive-v2starfive" in board_value:
|
||||||
model = boards.VISIONFIVE2
|
model = boards.VISIONFIVE2
|
||||||
print(board_value == "starfive,visionfive-v2starfive,jh7110")
|
|
||||||
print(type(board_value))
|
print(type(board_value))
|
||||||
|
print(type("visionfive-v2starfive"))
|
||||||
return model
|
return model
|
||||||
def _pi_id(self) -> Optional[str]:
|
def _pi_id(self) -> Optional[str]:
|
||||||
"""Try to detect id of a Raspberry Pi."""
|
"""Try to detect id of a Raspberry Pi."""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue