aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Henrik Tjäder <henrik@tjaders.com> 2023-10-02 09:59:01 +0200
committerGravatar Emil Fresk <emil.fresk@gmail.com> 2023-10-04 18:17:15 +0000
commitbedaae9395343b8a45e7efb245ac6ef063b286b6 (patch)
tree903fc133c2fddcdaccacb11f08a56c7e7fdfb349
parent8824202c5ac8a6afb3a328c90259b69d472b33e2 (diff)
downloadrtic-bedaae9395343b8a45e7efb245ac6ef063b286b6.tar.gz
rtic-bedaae9395343b8a45e7efb245ac6ef063b286b6.tar.zst
rtic-bedaae9395343b8a45e7efb245ac6ef063b286b6.zip
Book: Restore missing newline
-rw-r--r--book/en/src/by-example/app_init.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/book/en/src/by-example/app_init.md b/book/en/src/by-example/app_init.md
index e581ef55..52d657a0 100644
--- a/book/en/src/by-example/app_init.md
+++ b/book/en/src/by-example/app_init.md
@@ -3,7 +3,8 @@
An RTIC application requires an `init` task setting up the system. The corresponding `init` function must have the
signature `fn(init::Context) -> (Shared, Local)`, where `Shared` and `Local` are resource structures defined by the user.
-The `init` task executes after system reset, [after an optionally defined `pre-init` code section][pre-init] and an always occurring internal RTIC initialization. [pre-init]: https://docs.rs/cortex-m-rt/latest/cortex_m_rt/attr.pre_init.html
+The `init` task executes after system reset, [after an optionally defined `pre-init` code section][pre-init] and an always occurring internal RTIC initialization.
+[pre-init]: https://docs.rs/cortex-m-rt/latest/cortex_m_rt/attr.pre_init.html
The `init` and optional `pre-init` tasks runs *with interrupts disabled* and have exclusive access to Cortex-M (the `bare_metal::CriticalSection` token is available as `cs`).