diff --git a/embassy-macros/src/chip/stm32.rs b/embassy-macros/src/chip/stm32.rs index 9cd0111c..32a0a017 100644 --- a/embassy-macros/src/chip/stm32.rs +++ b/embassy-macros/src/chip/stm32.rs @@ -12,8 +12,8 @@ pub fn generate(embassy_prefix: &ModulePrefix, config: syn::Expr) -> TokenStream let p = #embassy_stm32_path::init(#config); let mut c = Clock::new( - unsafe { ::steal() }, - interrupt::take!(TIM2), + unsafe { ::steal() }, + interrupt::take!(TIM3), ); let clock = unsafe { make_static(&mut c) };