projects
/
gps-watch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
application: Factor out the configure_push_buttons() function.
[gps-watch.git]
/
src
/
bootloader
/
main.rs
diff --git
a/src/bootloader/main.rs
b/src/bootloader/main.rs
index 815429ed1410645a15910edbc56eaac5a719bd11..2ce598050464a12deedb8c32c94153ca319f653e 100644
(file)
--- a/
src/bootloader/main.rs
+++ b/
src/bootloader/main.rs
@@
-83,6
+83,13
@@
fn bootloader_requested() -> bool {
false
}
+#[inline(never)]
+#[panic_handler]
+fn panic(_info: &core::panic::PanicInfo) -> ! {
+ loop {
+ }
+}
+
#[no_mangle]
pub unsafe extern "C" fn _start() -> ! {
watchdog::disable();