diff options
author | 2021-07-21 08:40:21 +0000 | |
---|---|---|
committer | 2021-07-21 08:40:21 +0000 | |
commit | 2f3b5cba805d7e7b736869249f46298e59bc944d (patch) | |
tree | b191c17c8bdc5dbfae426c61694e590436c4eb4e /macros/src | |
parent | 29aef36f6726e1fa87a5f5dcaa4f2745cbcdebcd (diff) | |
parent | 18880406cb425bcd030f0b0aa9e67e8ac05bd852 (diff) | |
download | rtic-2f3b5cba805d7e7b736869249f46298e59bc944d.tar.gz rtic-2f3b5cba805d7e7b736869249f46298e59bc944d.tar.zst rtic-2f3b5cba805d7e7b736869249f46298e59bc944d.zip |
Merge #496
496: update the 0.5.x -> 0.6.0 migration guide r=AfoHT a=japaric
to use the new resources syntax
I also reordered the sections to cover all the resource API first before covering the spawn API
I've also added a section about the old `static mut` variable transform
Co-authored-by: Jorge Aparicio <jorge.aparicio@ferrous-systems.com>
Diffstat (limited to 'macros/src')
-rw-r--r-- | macros/src/tests/single.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/tests/single.rs b/macros/src/tests/single.rs index 27118856..f20c9ccb 100644 --- a/macros/src/tests/single.rs +++ b/macros/src/tests/single.rs @@ -18,7 +18,7 @@ fn analyze() { #[init] fn init(_: init::Context) -> (Shared, Local, init::Monotonics) { - (Shared {}, Local {}, init::Monotonics {}) + (Shared {}, Local {}, init::Monotonics()) } #[task(priority = 1)] |