diff --git a/rtic-macros/ui/spawn-local-different-exec.rs b/rtic-macros/ui/spawn-local-different-exec.rs index e088061a86c..12168152d80 100644 --- a/rtic-macros/ui/spawn-local-different-exec.rs +++ b/rtic-macros/ui/spawn-local-different-exec.rs @@ -15,7 +15,7 @@ mod app { (Shared {}, Local {}) } - #[task(priority = 1, is_local_task = true)] + #[task(priority = 1, local_task)] async fn foo(_cx: foo::Context) {} #[task(priority = 2)] diff --git a/rtic-macros/ui/spawn-local-from-init.rs b/rtic-macros/ui/spawn-local-from-init.rs index 0029a8572b3..3d789d44a1a 100644 --- a/rtic-macros/ui/spawn-local-from-init.rs +++ b/rtic-macros/ui/spawn-local-from-init.rs @@ -16,6 +16,6 @@ mod app { (Shared {}, Local {}) } - #[task(priority = 1, is_local_task = true)] + #[task(priority = 1, local_task)] async fn foo(_cx: foo::Context) {} }