diff options
author | 2021-11-09 10:15:11 +0000 | |
---|---|---|
committer | 2021-11-09 10:15:11 +0000 | |
commit | b4929032d5f013985becb88faf9b847236afe172 (patch) | |
tree | bbdd1ccb6ebda2e4be8362709a8188ae1bed895a /macros/src/codegen/software_tasks.rs | |
parent | 4f3c5baf49bde675dfa8faf6e5311d38cbb5d654 (diff) | |
parent | 5ab5112271a9dbef6d875ad89706fc726e126b95 (diff) | |
download | rtic-b4929032d5f013985becb88faf9b847236afe172.tar.gz rtic-b4929032d5f013985becb88faf9b847236afe172.tar.zst rtic-b4929032d5f013985becb88faf9b847236afe172.zip |
Merge #547v0.6.0-rc.4
547: New monotonic trait r=AfoHT a=korken89
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Diffstat (limited to 'macros/src/codegen/software_tasks.rs')
-rw-r--r-- | macros/src/codegen/software_tasks.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/codegen/software_tasks.rs b/macros/src/codegen/software_tasks.rs index 1669a3fb..2008b6c9 100644 --- a/macros/src/codegen/software_tasks.rs +++ b/macros/src/codegen/software_tasks.rs @@ -73,7 +73,7 @@ pub fn codegen( #[allow(non_upper_case_globals)] #[doc(hidden)] static #instants: - rtic::RacyCell<[core::mem::MaybeUninit<rtic::time::Instant<#mono_type>>; #cap_lit]> = + rtic::RacyCell<[core::mem::MaybeUninit<<#mono_type as rtic::Monotonic>::Instant>; #cap_lit]> = rtic::RacyCell::new([#(#elems,)*]); )); } |