bootloader: Explicitly initialize the port module.
[gps-watch.git] / src / bootloader / main.rs
index 1a0a7cc3d53ebdf1194ec88bd11a3eec541837c7..50c32a4e12f5a0b409047fb40d77aa741431dda1 100644 (file)
@@ -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);