mirror of
https://github.com/andreili/katapult.git
synced 2025-08-23 11:24:06 +02:00
flashtool: fix CAN bootloader request
Introduce a delay before exiting when requesting the bootloader. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
772817b4a3
commit
90eb71b610
@ -486,10 +486,10 @@ class CanSocket:
|
||||
self._loop.add_reader(
|
||||
self.cansock.fileno(), self._handle_can_response)
|
||||
self._jump_to_bootloader(uuid)
|
||||
await asyncio.sleep(.5)
|
||||
if req_only:
|
||||
output_line("Bootloader request command sent")
|
||||
return
|
||||
await asyncio.sleep(.5)
|
||||
self._reset_nodes()
|
||||
await asyncio.sleep(1.0)
|
||||
node = self._set_node_id(uuid)
|
||||
|
Loading…
x
Reference in New Issue
Block a user