aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs
index 88683bfe4..03c0eda1d 100644
--- a/embassy-stm32/src/lib.rs
+++ b/embassy-stm32/src/lib.rs
@@ -375,9 +375,9 @@ mod dual_core {
375 rcc::set_freqs_ptr(&shared_data.clocks); 375 rcc::set_freqs_ptr(&shared_data.clocks);
376 376
377 // We use different timers on the different cores, so we have to still initialize one here 377 // We use different timers on the different cores, so we have to still initialize one here
378 #[cfg(feature = "_time-driver")]
378 critical_section::with(|cs| { 379 critical_section::with(|cs| {
379 // must be after rcc init 380 // must be after rcc init
380 #[cfg(feature = "_time-driver")]
381 time_driver::init(cs); 381 time_driver::init(cs);
382 }); 382 });
383 383