aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-09-03 18:06:03 +0000
committerGitHub <[email protected]>2022-09-03 18:06:03 +0000
commit96eb669b34d7b2fd2fa91531db568fbdd0a96208 (patch)
tree071e744284573d590ce99b7185ecd2859e6bc223 /docs
parent50af13d47064105a983b33d06099faad519288a5 (diff)
parent506e5a44930aca6ae0b23c59bfb9bde02aa4e485 (diff)
Merge #943
943: Use embassy_executor::main in runtime.adoc r=lulf a=danbev This commit replaces `embassy::main` with `embassy_executor::main` in the runtime documentation page. Refs: https://embassy.dev/dev/runtime.html Co-authored-by: Daniel Bevenius <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/modules/ROOT/pages/runtime.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/modules/ROOT/pages/runtime.adoc b/docs/modules/ROOT/pages/runtime.adoc
index a7d6a8d0c..5096f5a43 100644
--- a/docs/modules/ROOT/pages/runtime.adoc
+++ b/docs/modules/ROOT/pages/runtime.adoc
@@ -20,7 +20,7 @@ IMPORTANT: The executor relies on tasks not blocking indefinitely, as this preve
20 20
21image::embassy_executor.png[Executor model] 21image::embassy_executor.png[Executor model]
22 22
23If you use the `#[embassy::main]` macro in your application, it creates the `Executor` for you and spawns the main entry point as the first task. You can also create the Executor manually, and you can in fact create multiple Executors. 23If you use the `#[embassy_executor::main]` macro in your application, it creates the `Executor` for you and spawns the main entry point as the first task. You can also create the Executor manually, and you can in fact create multiple Executors.
24 24
25 25
26== Interrupts 26== Interrupts