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 e77bf9d commit 2054c4cCopy full SHA for 2054c4c
adafruit_platformdetect/board.py
@@ -335,16 +335,10 @@ def _armbian_id(self):
335
board_value = self.detector.get_armbian_release_field('BOARD')
336
if board_value == "orangepipc":
337
return ORANGE_PI_PC
338
- return None
339
-
340
- def _armbian_id(self):
341
- """Check whether the current board is an OrangePi R1."""
342
- board_value = self.detector.get_armbian_release_field('BOARD')
343
- if board_value == "orangepi-r1":
+ if board_value == "orangepi-r1":
344
return ORANGE_PI_R1
345
return None
346
347
348
def _sama5_id(self):
349
"""Check what type sama5 board."""
350
board_value = self.detector.get_device_model()
0 commit comments