diff --git a/src/embassy/mod.rs b/src/embassy/mod.rs index 8f53945..3db1ae1 100644 --- a/src/embassy/mod.rs +++ b/src/embassy/mod.rs @@ -23,10 +23,8 @@ pub mod time_driver_impl; /// The WCH QingKe RISC-V core deviates from standard RISC-V specification: /// - `WFI` instruction will not wake up from disabled interrupts /// - Either `WFITOWFE` or `SEVONPEND` must be enabled for proper wake-up behavior -/// -/// `WFITOWFE` is configured in `qingke-rt`, so no additional setup needed here pub unsafe fn init() { - // crate::pac::PFIC.sctlr().modify(|w| w.set_sevonpend(true)); + crate::pac::PFIC.sctlr().modify(|w| w.set_sevonpend(true)); #[cfg(all(qingke_v4, not(time_driver_timer)))] time_driver_impl::init();