Ran pre-commit
This commit is contained in:
parent
1295880bef
commit
af15c7b84f
1 changed files with 1 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ class Board:
|
||||||
return boards.BEAGLEV_STARLIGHT
|
return boards.BEAGLEV_STARLIGHT
|
||||||
|
|
||||||
# find device alias at i2c address 0x50 (0-00500, 0-00501, etc)
|
# find device alias at i2c address 0x50 (0-00500, 0-00501, etc)
|
||||||
nvmem_devices = glob.glob('/sys/bus/nvmem/devices/0-0050*')
|
nvmem_devices = glob.glob("/sys/bus/nvmem/devices/0-0050*")
|
||||||
# do not expect there to be anything but one eeprom
|
# do not expect there to be anything but one eeprom
|
||||||
if len(nvmem_devices) != 1:
|
if len(nvmem_devices) != 1:
|
||||||
return None
|
return None
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue