From 02f965ef093ae7195e2ec1b346233e2e6175f53b Mon Sep 17 00:00:00 2001 From: Peter Taylor <40178570+FluenTech@users.noreply.github.com> Date: Mon, 13 Apr 2020 09:32:49 -0600 Subject: [PATCH] correct SLEEPONEXIT reference link --- book/en/src/by-example/app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/en/src/by-example/app.md b/book/en/src/by-example/app.md index 5cace3733c..00e0051987 100644 --- a/book/en/src/by-example/app.md +++ b/book/en/src/by-example/app.md @@ -70,7 +70,7 @@ so it must run forever. When no `idle` function is declared, the runtime sets the [SLEEPONEXIT] bit and then sends the microcontroller to sleep after running `init`. -[SLEEPONEXIT]: https://developer.arm.com/products/architecture/cpu-architecture/m-profile/docs/100737/0100/power-management/sleep-mode/sleep-on-exit-bit +[SLEEPONEXIT]: https://developer.arm.com/docs/100737/0100/power-management/sleep-mode/sleep-on-exit-bit Like in `init`, `static mut` variables will be transformed into `&'static mut` references that are safe to access.