From c1abf3a3b19965a3c7d07dcefc227dd9769b0ea6 Mon Sep 17 00:00:00 2001 From: aris Date: Wed, 17 Dec 2025 13:02:49 +0100 Subject: [PATCH] Increased the delay after flashing a deck by 3 seconds --- cflib/bootloader/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cflib/bootloader/__init__.py b/cflib/bootloader/__init__.py index a817b1915..146fed9ce 100644 --- a/cflib/bootloader/__init__.py +++ b/cflib/bootloader/__init__.py @@ -326,7 +326,7 @@ def flash(self, filename: str, targets: List[Target], cf=None, enable_console_lo self.progress_cb('Deck updated! Restarting...', int(100)) if current_index != -1: PowerSwitch(self.clink).reboot_to_fw() - time.sleep(2.0 + boot_delay) + time.sleep(5.0 + boot_delay) # Put the crazyflie back in Bootloader mode to exit the function in the same state we entered it self.start_bootloader(warm_boot=True, cf=cf)