From 1013db0563617e7b7dee2948b6e4b1f733ddba1f Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Wed, 6 Nov 2019 20:43:52 +0100 Subject: [PATCH] bootloader: Explicitly initialize the port module. Don't assume another component does it for us. --- src/bootloader/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootloader/main.rs b/src/bootloader/main.rs index 1a0a7cc..50c32a4 100644 --- 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); -- 2.30.2