We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ccf0c8 commit 2f176c8Copy full SHA for 2f176c8
src/embassy/mod.rs
@@ -23,10 +23,8 @@ pub mod time_driver_impl;
23
/// The WCH QingKe RISC-V core deviates from standard RISC-V specification:
24
/// - `WFI` instruction will not wake up from disabled interrupts
25
/// - Either `WFITOWFE` or `SEVONPEND` must be enabled for proper wake-up behavior
26
-///
27
-/// `WFITOWFE` is configured in `qingke-rt`, so no additional setup needed here
28
pub unsafe fn init() {
29
- // crate::pac::PFIC.sctlr().modify(|w| w.set_sevonpend(true));
+ crate::pac::PFIC.sctlr().modify(|w| w.set_sevonpend(true));
30
31
#[cfg(all(qingke_v4, not(time_driver_timer)))]
32
time_driver_impl::init();
0 commit comments