mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 04:45:19 +01:00
Added examples for async crates + fixed codegen for non-Copy arguments
This commit is contained in:
parent
d23de62823
commit
922f1ad0eb
13 changed files with 152 additions and 77 deletions
|
|
@ -2,13 +2,11 @@
|
|||
|
||||
use super::Monotonic;
|
||||
pub use super::{TimeoutError, TimerQueue};
|
||||
use core::{
|
||||
ops::Deref,
|
||||
sync::atomic::{AtomicU32, Ordering},
|
||||
};
|
||||
use atomic_polyfill::{AtomicU32, Ordering};
|
||||
use core::ops::Deref;
|
||||
use cortex_m::peripheral::SYST;
|
||||
use embedded_hal_async::delay::DelayUs;
|
||||
use fugit::ExtU32;
|
||||
pub use fugit::ExtU32;
|
||||
|
||||
const TIMER_HZ: u32 = 1_000;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue