Skip to content

Commit

Permalink
fix(embassy): avoid rt hang
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Nov 20, 2024
1 parent 3ccf0c8 commit 8955461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/embassy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub mod time_driver_impl;
///
/// `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();
Expand Down

1 comment on commit 8955461

@Codetector1374
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly given how wfi does not work LOL probably best to just use the arch-spin in embassy-executor LOL
This wfi really needs to be used with caution with various peripherals

Please sign in to comment.