From 506e5a44930aca6ae0b23c59bfb9bde02aa4e485 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Sat, 3 Sep 2022 15:09:36 +0200 Subject: [PATCH] Use embassy_executor::main in runtime.adoc This commit replaces embassy::main with embassy_executor::main in the runtime documentation page. Refs: https://embassy.dev/dev/runtime.html --- docs/modules/ROOT/pages/runtime.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 image::embassy_executor.png[Executor model] -If 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. +If 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. == Interrupts