Skip to content
Snippets Groups Projects
Commit c2b3ea99 authored by Astro's avatar Astro :gear:
Browse files

l0dable: replace unreachable! with infinite loop after exit/system_reset

May improve the #6 situation
parent 83779402
No related branches found
No related tags found
No related merge requests found
Pipeline #3799 passed
......@@ -14,7 +14,7 @@ pub fn exit(ret: i32) -> ! {
unsafe {
epic_exit(ret);
}
unreachable!()
loop {}
}
/// Cause a reboot
......@@ -22,5 +22,5 @@ pub fn system_reset() -> ! {
unsafe {
epic_system_reset();
}
unreachable!()
loop {}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment