From 55e3df163d77d5f948b64ace199bdeb4b4834e8a Mon Sep 17 00:00:00 2001 From: Samuel Sadok Date: Mon, 12 Mar 2018 23:46:09 -0700 Subject: [PATCH] silence irrelevant error message --- tools/dfu.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/dfu.py b/tools/dfu.py index 5734c980..1c9aeda9 100755 --- a/tools/dfu.py +++ b/tools/dfu.py @@ -189,6 +189,10 @@ def put_odrive_into_dfu_mode_thread(cancellation_token): show_deferred_message("Still waiting for the device to reappear.\n" "Use the Zadig utility to set the driver of 'STM32 BOOTLOADER' to libusb-win32.", cancellation_token) + # If we immediately continue we might still pick up the device that was + # just rebooted. This isn't an issue but will display a distracting + # error message. + time.sleep(1) ### BEGINNING OF APPLICATION ###