diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-09-28 08:40:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-28 08:40:21 +0000 |
| commit | 0dd97d722e8be843cf91f2dc7aeea4e3336101bf (patch) | |
| tree | ee03041cdb9f872118d9fa8d35f4ca356abe8f81 /macros/src/codegen/pre_init.rs | |
| parent | 5e5a4c117c696c36c6bd4b02f66e9b9e793c3e64 (diff) | |
| parent | 7c6588e6bdacf7de161fd5e6bcd7ab969d10a240 (diff) | |
Merge #538
538: Fix export of SYST r=AfoHT a=korken89
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
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 eb216d8..3017c08 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(); } )); |
