From: Tilman Sauerbeck Date: Tue, 9 Jul 2019 17:44:36 +0000 (+0200) Subject: bootloader: Stop USB serial device before entering the application. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=c37308066d9b558af6878984612007f695776780;p=gps-watch.git bootloader: Stop USB serial device before entering the application. Try to provide a clean slate to the application. --- 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);