projects
/
gps-watch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d5832a
)
bootloader: Initialize systick on startup.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 7 Jul 2019 16:48:43 +0000
(18:48 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 5 Jan 2020 19:38:11 +0000
(20:38 +0100)
src/bootloader/main.rs
patch
|
blob
|
history
diff --git
a/src/bootloader/main.rs
b/src/bootloader/main.rs
index 83ef01133a68219c33a82289b65a21bab11ec197..0f863fc4af6338c033edb1df7f847c7465196ce1 100644
(file)
--- 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);