From: Tilman Sauerbeck Date: Wed, 6 Nov 2019 19:43:52 +0000 (+0100) Subject: bootloader: Explicitly initialize the port module. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=1013db0563617e7b7dee2948b6e4b1f733ddba1f;p=gps-watch.git bootloader: Explicitly initialize the port module. Don't assume another component does it for us. --- 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);