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 e663398 commit 407208cCopy full SHA for 407208c
adafruit_platformdetect/board.py
@@ -231,9 +231,8 @@ 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 "starfive,visionfive-v2starfive,jh7110".casefold() == board_value.casefold():
+ if "starfive,visionfive-v2starfive,jh7110".casefold().strip() == board_value.casefold().strip():
235
model = boards.VISIONFIVE2
236
- print(type(board_value))
237
return model
238
def _pi_id(self) -> Optional[str]:
239
"""Try to detect id of a Raspberry Pi."""
0 commit comments