mirror of
https://github.com/andreili/katapult.git
synced 2025-08-23 19:34:06 +02:00
flashtool: remove UUID verification step
When multiple nodes are on the network the UUID query can result in transmit errors, as multiple nodes with the same ID will attempt to respond. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
abd154526d
commit
13b61caf58
@ -468,12 +468,6 @@ class CanSocket:
|
|||||||
return
|
return
|
||||||
await asyncio.sleep(.5)
|
await asyncio.sleep(.5)
|
||||||
self._reset_nodes()
|
self._reset_nodes()
|
||||||
await asyncio.sleep(.5)
|
|
||||||
id_list = await self._query_uuids()
|
|
||||||
if uuid not in id_list:
|
|
||||||
raise FlashCanError(
|
|
||||||
f"Unable to find node matching UUID: {uuid:012x}"
|
|
||||||
)
|
|
||||||
node = self._set_node_id(uuid)
|
node = self._set_node_id(uuid)
|
||||||
flasher = CanFlasher(node, fw_path)
|
flasher = CanFlasher(node, fw_path)
|
||||||
await asyncio.sleep(.5)
|
await asyncio.sleep(.5)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user