diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2021-10-31 10:09:40 +0100 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2021-11-09 10:20:43 +0100 |
| commit | 0dcb0c4e497b23bf68b7ac0d3d918ab3d3c209be (patch) | |
| tree | fa4dd3f228dd643d0a989aaae512bf33bc90c291 /macros/src/codegen/software_tasks.rs | |
| parent | ae034aec14bf44e83e2720c81b98031d38992133 (diff) | |
New monotonic trait working
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 1669a3f..2008b6c 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,)*]); )); } |
