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 90295ca commit 96b0c05Copy full SHA for 96b0c05
adafruit_platformdetect/board.py
@@ -231,8 +231,8 @@ def _starfive_id(self) -> Optional[str]:
231
model = None
232
model_value = self.detector.get_device_model()
233
print(model_value)
234
- #if model_value == "StarFive VisionFive V2":
235
- model = boards.VISIONFIVE2
+ if "VisionFive" in model_value and "V2" in model_value:
+ model = boards.VISIONFIVE2
236
return model
237
238
def _pi_id(self) -> Optional[str]:
0 commit comments