Skip to content

Commit b86411f

Browse files
committed
fix typo
1 parent 7ffa438 commit b86411f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/concurrency.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ fires periodically. The interrupt is handled using the `SysTick` handler
9696
{{#include ../ci/concurrency/examples/systick.rs}}```
9797

9898
If you are not familiar with embedded / Cortex-M programs the most important
99-
thing to point note here is that the function marked with the `entry` attribute
100-
is the entry point of the user program. When the device (re)boots (e.g. it's
101-
first powered) the "runtime" (the `cortex-m-rt` crate) initializes `static`
102-
variables (the content of RAM is random on power on) and then calls the user
103-
program entry point. As the user program is the only process running it is not
104-
allowed to end / exit; this is enforced in the signature of the `entry`
105-
function: `fn() -> !` -- a divergent function can't return.
99+
thing to note here is that the function marked with the `entry` attribute is the
100+
entry point of the user program. When the device (re)boots (e.g. it's first
101+
powered) the "runtime" (the `cortex-m-rt` crate) initializes `static` variables
102+
(the content of RAM is random on power on) and then calls the user program entry
103+
point. As the user program is the only process running it is not allowed to end
104+
/ exit; this is enforced in the signature of the `entry` function: `fn() -> !`
105+
-- a divergent function can't return.
106106

107107
You can run this example on an x86 machine using QEMU. Make sure you have
108108
`qemu-system-arm` installed and run the following command

0 commit comments

Comments
 (0)