From 7204b4504475d3b1d26e26ad4b608127946d34fd Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Mon, 17 Jun 2019 21:51:08 +0200 Subject: [PATCH] bootloader: Initialize the usb_serial module on startup. --- src/bootloader/main.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 { + } } } -- 2.30.2