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:
b239309
)
bootloader: Initialize the usb_serial module on startup.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Mon, 17 Jun 2019 19:51:08 +0000
(21:51 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 7 Jul 2019 18:34:42 +0000
(20:34 +0200)
src/bootloader/main.rs
patch
|
blob
|
history
diff --git
a/src/bootloader/main.rs
b/src/bootloader/main.rs
index 9a0cbb4f48706007e934c35d35b7ffa1db38dcb3..fbd3aa0c01c03d6bbe34352e97b5349920f1a6ad 100644
(file)
--- a/
src/bootloader/main.rs
+++ b/
src/bootloader/main.rs
@@
-28,11
+28,16
@@
extern crate common;
use common::clock;
+use common::usb_serial;
#[no_mangle]
pub unsafe extern fn main() {
clock::configure();
- loop {
+ if true {
+ usb_serial::init();
+
+ loop {
+ }
}
}