stm32_mem.py: Wait longer for device to appear.
This commit is contained in:
parent
7f1a560288
commit
df575eb090
|
@ -184,7 +184,7 @@ if __name__ == "__main__":
|
||||||
print("Invoking DFU Device")
|
print("Invoking DFU Device")
|
||||||
timeout = 0
|
timeout = 0
|
||||||
while True :
|
while True :
|
||||||
sleep(0.5)
|
sleep(1)
|
||||||
timeout = timeout + 0.5
|
timeout = timeout + 0.5
|
||||||
dfudev = stm32_scan(args, True)
|
dfudev = stm32_scan(args, True)
|
||||||
if dfudev: break
|
if dfudev: break
|
||||||
|
|
Loading…
Reference in New Issue