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:
68f5e8f
)
bootloader: Explicitly initialize the port module.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Wed, 6 Nov 2019 19:43:52 +0000
(20:43 +0100)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 5 Jan 2020 19:38:11 +0000
(20:38 +0100)
Don't assume another component does it for us.
src/bootloader/main.rs
patch
|
blob
|
history
diff --git
a/src/bootloader/main.rs
b/src/bootloader/main.rs
index 1a0a7cc3d53ebdf1194ec88bd11a3eec541837c7..50c32a4e12f5a0b409047fb40d77aa741431dda1 100644
(file)
--- a/
src/bootloader/main.rs
+++ b/
src/bootloader/main.rs
@@
-71,6
+71,7
@@
fn bootloader_requested() -> bool {
pub unsafe extern fn main() {
clock::configure();
systick::init();
+ port::init();
// Configure lower left push button.
gpio::set_direction(gpio::GPIOE, 1 << 24, gpio::Direction::Input);