Skip to content

Commit ad3a44f

Browse files
committed
Rename chip to A64 as it is supposed to be instead of PINE64
1 parent cbdf403 commit ad3a44f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

adafruit_platformdetect/board.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def id(self):
367367
board_id = ONION_OMEGA
368368
elif chip_id == ap_chip.MIPS24KEC:
369369
board_id = ONION_OMEGA2
370-
elif chip_id == ap_chip.PINE64:
370+
elif chip_id == ap_chip.A64:
371371
board_id = self._pine64_id()
372372
return board_id
373373
# pylint: enable=invalid-name

adafruit_platformdetect/chip.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
BINHO = "BINHO"
2525
MIPS24KC = "MIPS24KC"
2626
MIPS24KEC = "MIPS24KEC"
27-
PINE64 = "PINE64"
27+
A64 = "A64"
2828

2929
class Chip:
3030
"""Attempt detection of current chip / CPU."""
@@ -129,7 +129,7 @@ def _linux_id(self): # pylint: disable=too-many-branches
129129
elif "SAMA5" in hardware:
130130
linux_id = SAMA5
131131
elif "Pinebook" in hardware:
132-
linux_id = PINE64
132+
linux_id = A64
133133

134134
return linux_id
135135

0 commit comments

Comments
 (0)