From c37308066d9b558af6878984612007f695776780 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Tue, 9 Jul 2019 19:44:36 +0200 Subject: [PATCH] bootloader: Stop USB serial device before entering the application. Try to provide a clean slate to the application. --- src/bootloader/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bootloader/main.rs b/src/bootloader/main.rs index 8c6f149..1a0a7cc 100644 --- a/src/bootloader/main.rs +++ b/src/bootloader/main.rs @@ -84,6 +84,8 @@ pub unsafe extern fn main() { while b.run() || application_missing() { } + + usb_serial::shutdown(); } jump_to_application(APPLICATION_ADDR); -- 2.30.2