bootloader: Never auto-start the application in the intermediate bootloader.
[gps-watch.git] / src / bootloader / main.rs
index 52a14738f62e0008d6ad4cc95b362432ab0f6170..a5fe9832d30a7cf6d18ed9ca3e130e5477818163 100644 (file)
@@ -65,6 +65,12 @@ unsafe fn application_missing() -> bool {
     first_app_word.read() == 0xffffffff
 }
 
+#[cfg(bootloader_type = "intermediate")]
+fn bootloader_requested() -> bool {
+    true
+}
+
+#[cfg(bootloader_type = "final")]
 fn bootloader_requested() -> bool {
     let start_ticks = systick::now();