From dbda961b1cc62d8bbc155bd53d74a1fb52fed654 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 7 Jul 2019 18:48:43 +0200 Subject: [PATCH] bootloader: Initialize systick on startup. --- src/bootloader/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bootloader/main.rs b/src/bootloader/main.rs index 83ef011..0f863fc 100644 --- a/src/bootloader/main.rs +++ b/src/bootloader/main.rs @@ -31,6 +31,7 @@ mod flash; mod bootloader; use common::clock; +use common::systick; use common::usb_serial; extern { @@ -42,6 +43,7 @@ const APPLICATION_ADDR: u32 = 0x0; #[no_mangle] pub unsafe extern fn main() { clock::configure(); + systick::init(); if true { usb_serial::init(0xf055, 0x635c); -- 2.30.2