@@ -186,7 +186,7 @@ def id(self) -> Optional[str]:
186
186
elif chip_id == chips .GENERIC_X86 :
187
187
board_id = boards .GENERIC_LINUX_PC
188
188
elif chip_id == chips .TDA4VM :
189
- board_id = self ._beaglebone_id () or self ._tisk_id ()
189
+ board_id = self ._beaglebone_id () or self ._tisk_id ()
190
190
elif chip_id == chips .D1_RISCV :
191
191
board_id = self ._armbian_id ()
192
192
elif chip_id == chips .S905X :
@@ -273,7 +273,7 @@ def _beaglebone_id(self) -> Optional[str]:
273
273
eeprom_bytes = eeprom .read (16 )
274
274
except FileNotFoundError :
275
275
try :
276
- #Special Case for AI64
276
+ # Special Case for AI64
277
277
with open ("/sys/bus/nvmem/devices/2-00500/nvmem" , "rb" ) as eeprom :
278
278
eeprom_bytes = eeprom .read (16 )
279
279
except FileNotFoundError :
@@ -286,7 +286,7 @@ def _beaglebone_id(self) -> Optional[str]:
286
286
# refer to GitHub issue #57 in this repo for more info
287
287
if eeprom_bytes == b"\xaa U3\xee A335BNLT\x1a \x00 \x00 \x00 " :
288
288
return boards .BEAGLEBONE_GREEN
289
-
289
+
290
290
# BeaglePlay Special Condition
291
291
# new Beagle EEPROM IDs are 24 Bit, so we need to verify full range
292
292
if eeprom_bytes == b"\xaa U3\xee \x01 7\x00 \x10 .\x00 BEAGLE" :
0 commit comments