projects
/
gps-watch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bootloader: Initialize the usb_serial module on startup.
[gps-watch.git]
/
src
/
bootloader
/
main.rs
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 {
+ }
}
}