From: Tilman Sauerbeck Date: Mon, 17 Jun 2019 19:51:08 +0000 (+0200) Subject: bootloader: Initialize the usb_serial module on startup. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=7204b4504475d3b1d26e26ad4b608127946d34fd;p=gps-watch.git bootloader: Initialize the usb_serial module on startup. --- diff --git a/src/bootloader/main.rs b/src/bootloader/main.rs index 9a0cbb4..fbd3aa0 100644 --- 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 { + } } }