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 2c3d845 commit af17449Copy full SHA for af17449
scripts/opentitan/spidevflash.py
@@ -78,7 +78,7 @@ def _wait_for_remote(self):
78
# to handle requests
79
timeout = now() + 3.0
80
while now() < timeout:
81
- jedec = set(self._spidev.read_jedec_id())
+ jedec = set(self._spidev.read_jedec_id().jedec)
82
if len(jedec) > 1 or jedec.pop() not in (0x00, 0xff):
83
return
84
raise RuntimeError('Remote SPI device not ready')
0 commit comments