stm32_mem.py: Wait longer for device to appear.

This commit is contained in:
Uwe Bonnes 2021-05-05 12:50:45 +02:00 committed by UweBonnes
parent 7f1a560288
commit df575eb090
1 changed files with 1 additions and 1 deletions

View File

@ -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