projects
/
gps-watch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29fee1b
)
bootloader: Stop USB serial device before entering the application.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Tue, 9 Jul 2019 17:44:36 +0000
(19:44 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 5 Jan 2020 19:38:11 +0000
(20:38 +0100)
Try to provide a clean slate to the application.
src/bootloader/main.rs
patch
|
blob
|
history
diff --git
a/src/bootloader/main.rs
b/src/bootloader/main.rs
index 8c6f149e19534d93326a7df4abf290a8a37044ed..1a0a7cc3d53ebdf1194ec88bd11a3eec541837c7 100644
(file)
--- 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);