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 aa493d0 commit d4d2c00Copy full SHA for d4d2c00
adafruit_platformdetect/board.py
@@ -229,8 +229,8 @@ def id(self) -> Optional[str]:
229
# pylint: enable=invalid-name
230
def _starfive_id(self) -> Optional[str]:
231
model = None
232
- board_value = self.detector.get_device_compatible()
233
- if 'visionfive-v2starfive' in str(board_value):
+ model_value = self.detector.get_device_model()
+ if model_value == "StarFive VisionFive V2":
234
model = boards.VISIONFIVE2
235
return model
236
0 commit comments