mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
Idle: Switch to NOP instead of WFI
Add example how to get old WFI behaviour
This commit is contained in:
parent
3741d431be
commit
8c8f7f12c3
6 changed files with 77 additions and 13 deletions
|
|
@ -6,6 +6,7 @@ use core::{
|
|||
pub use crate::tq::{NotReady, TimerQueue};
|
||||
pub use bare_metal::CriticalSection;
|
||||
pub use cortex_m::{
|
||||
asm::nop,
|
||||
asm::wfi,
|
||||
interrupt,
|
||||
peripheral::{scb::SystemHandler, DWT, NVIC, SCB, SYST},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue