We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6162a3 commit e663398Copy full SHA for e663398
adafruit_platformdetect/board.py
@@ -231,10 +231,9 @@ def id(self) -> Optional[str]:
231
def _starfive_id(self) -> Optional[str]:
232
model = None
233
board_value = self.detector.get_device_compatible()
234
- if "visionfive-v2starfive" in board_value:
+ if "starfive,visionfive-v2starfive,jh7110".casefold() == board_value.casefold():
235
model = boards.VISIONFIVE2
236
print(type(board_value))
237
- print(type("visionfive-v2starfive"))
238
return model
239
def _pi_id(self) -> Optional[str]:
240
"""Try to detect id of a Raspberry Pi."""
0 commit comments