diff options
author | 2021-09-28 10:18:43 +0200 | |
---|---|---|
committer | 2021-09-28 10:38:22 +0200 | |
commit | 7c6588e6bdacf7de161fd5e6bcd7ab969d10a240 (patch) | |
tree | ee03041cdb9f872118d9fa8d35f4ca356abe8f81 /macros/src/codegen/pre_init.rs | |
parent | 5e5a4c117c696c36c6bd4b02f66e9b9e793c3e64 (diff) | |
download | rtic-7c6588e6bdacf7de161fd5e6bcd7ab969d10a240.tar.gz rtic-7c6588e6bdacf7de161fd5e6bcd7ab969d10a240.tar.zst rtic-7c6588e6bdacf7de161fd5e6bcd7ab969d10a240.zip |
Fix export of SYST
Diffstat (limited to 'macros/src/codegen/pre_init.rs')
-rw-r--r-- | macros/src/codegen/pre_init.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/codegen/pre_init.rs b/macros/src/codegen/pre_init.rs index eb216d86..3017c08e 100644 --- a/macros/src/codegen/pre_init.rs +++ b/macros/src/codegen/pre_init.rs @@ -104,7 +104,7 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> Vec<TokenStream // Always enable monotonic interrupts if they should never be off if !<#mono_type as rtic::Monotonic>::DISABLE_INTERRUPT_ON_EMPTY_QUEUE { - core::mem::transmute::<_, cortex_m::peripheral::SYST>(()) + core::mem::transmute::<_, rtic::export::SYST>(()) .enable_interrupt(); } )); |