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