bootloader: Initialize the usb_serial module on startup.
[gps-watch.git] / src / bootloader / main.rs
index 198eb44e88355a21a44b746fb10d198a604a5054..fbd3aa0c01c03d6bbe34352e97b5349920f1a6ad 100644 (file)
 
 extern crate common;
 
+use common::clock;
+use common::usb_serial;
+
 #[no_mangle]
 pub unsafe extern fn main() {
-    loop {
+    clock::configure();
+
+    if true {
+        usb_serial::init();
+
+        loop {
+        }
     }
 }