Skip to content

Commit 9f87ec8

Browse files
authored
Merge pull request #585 from bitcraze/Aris/Bootloader
Increased the delay after flashing a deck
2 parents 8d8a6d8 + c1abf3a commit 9f87ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cflib/bootloader/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def flash(self, filename: str, targets: List[Target], cf=None, enable_console_lo
326326
self.progress_cb('Deck updated! Restarting...', int(100))
327327
if current_index != -1:
328328
PowerSwitch(self.clink).reboot_to_fw()
329-
time.sleep(2.0 + boot_delay)
329+
time.sleep(5.0 + boot_delay)
330330

331331
# Put the crazyflie back in Bootloader mode to exit the function in the same state we entered it
332332
self.start_bootloader(warm_boot=True, cf=cf)

0 commit comments

Comments
 (0)