diff --git a/advanced/firmware/src/lib.rs b/advanced/firmware/src/lib.rs index 7480423..3446a8d 100644 --- a/advanced/firmware/src/lib.rs +++ b/advanced/firmware/src/lib.rs @@ -8,10 +8,3 @@ use panic_probe as _; fn panic() -> ! { cortex_m::asm::udf() } - -/// Terminates the application and makes `probe-run` exit with exit-code = 0 -pub fn exit() -> ! { - loop { - cortex_m::asm::bkpt(); - } -} diff --git a/beginner/apps/src/lib.rs b/beginner/apps/src/lib.rs index 7480423..3446a8d 100644 --- a/beginner/apps/src/lib.rs +++ b/beginner/apps/src/lib.rs @@ -8,10 +8,3 @@ use panic_probe as _; fn panic() -> ! { cortex_m::asm::udf() } - -/// Terminates the application and makes `probe-run` exit with exit-code = 0 -pub fn exit() -> ! { - loop { - cortex_m::asm::bkpt(); - } -}