diff options
Diffstat (limited to 'docs/modules/ROOT/pages/basic_application.adoc')
| -rw-r--r-- | docs/modules/ROOT/pages/basic_application.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/modules/ROOT/pages/basic_application.adoc b/docs/modules/ROOT/pages/basic_application.adoc index f20ddf531..d233d77c1 100644 --- a/docs/modules/ROOT/pages/basic_application.adoc +++ b/docs/modules/ROOT/pages/basic_application.adoc | |||
| @@ -61,7 +61,7 @@ async fn main(_spawner: Spawner, p: embassy_nrf::Peripherals) { | |||
| 61 | } | 61 | } |
| 62 | ``` | 62 | ``` |
| 63 | 63 | ||
| 64 | What happens when the `blinker` task have been spawned and main returns? Well, the main entry point is actually just like any other task, except that you can only have one and it takes some specific type arguments. The magic lies within the `#[embassy::main]` macro. The macro does the following: | 64 | What happens when the `blinker` task has been spawned and main returns? Well, the main entry point is actually just like any other task, except that you can only have one and it takes some specific type arguments. The magic lies within the `#[embassy::main]` macro. The macro does the following: |
| 65 | 65 | ||
| 66 | . Creates an Embassy Executor | 66 | . Creates an Embassy Executor |
| 67 | . Initializes the microcontroller HAL to get the `Peripherals` | 67 | . Initializes the microcontroller HAL to get the `Peripherals` |
