aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nils Fitinghoff <nils.fitinghoff@mobilaris.se> 2023-08-29 09:34:25 +0200
committerGravatar Emil Fresk <emil.fresk@gmail.com> 2023-08-29 11:31:11 +0000
commit1e20d2821767388183b8e6537bca2599763b8b29 (patch)
treec520a0b5a4383da3e14952926fe0da62de970824
parentcc1e7154fce6780b8db7fe3457405b8e02563f7d (diff)
downloadrtic-1e20d2821767388183b8e6537bca2599763b8b29.tar.gz
rtic-1e20d2821767388183b8e6537bca2599763b8b29.tar.zst
rtic-1e20d2821767388183b8e6537bca2599763b8b29.zip
book: Fix rtic-sync references
-rw-r--r--book/en/src/migration_v1_v2.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/en/src/migration_v1_v2.md b/book/en/src/migration_v1_v2.md
index 173b9646..a66b1859 100644
--- a/book/en/src/migration_v1_v2.md
+++ b/book/en/src/migration_v1_v2.md
@@ -15,4 +15,4 @@ If you wish to see a code example of changes required, you can check out [the fu
1. Add `#![type_alias_impl_trait]` to your crate, and use `cargo +nightly`.
2. Instead of `spawn_after` and `spawn_at`, you now use the `async` functions `delay`, `delay_until` (and related) with impls provided by `rtic-monotonics`.
3. Software tasks _must_ be `async fn`s now. Not returning from a task is allowed so long as there is an `await` in the task. You can still `lock` shared resources.
-4. Use `rtic_sync::Arbiter` to `await` access to a shared resource, and `rtic-channel` to communicate between tasks instead of `spawn`-ing new ones. \ No newline at end of file
+4. Use `rtic_sync::arbiter::Arbiter` to `await` access to a shared resource, and `rtic_sync::channel::Channel` to communicate between tasks instead of `spawn`-ing new ones.