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