mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 01:33:52 +08:00
spi dfu: fast timeout for header (#1407)
This commit is contained in:
@@ -228,7 +228,7 @@ class STBootloaderSPIHandle(BaseSTBootloaderHandle):
|
||||
# sync + command
|
||||
spi.xfer([self.SYNC, ])
|
||||
spi.xfer([cmd, cmd ^ 0xFF])
|
||||
self._get_ack(spi)
|
||||
self._get_ack(spi, timeout=0.1)
|
||||
|
||||
# "predata" - for commands that send the first data without a checksum
|
||||
if predata is not None:
|
||||
|
||||
Reference in New Issue
Block a user