mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
Reexport embedded-time as rtic::time
This commit is contained in:
parent
1c8de78f6f
commit
35b4ec0d04
4 changed files with 5 additions and 5 deletions
|
|
@ -38,7 +38,7 @@
|
|||
use cortex_m::{interrupt::Nr, peripheral::NVIC};
|
||||
pub use cortex_m_rtic_macros::app;
|
||||
pub use rtic_core::{
|
||||
monotonic::{self, Clock, Duration, Instant, Monotonic},
|
||||
monotonic::{self, embedded_time as time, Monotonic},
|
||||
prelude as mutex_prelude, Exclusive, Mutex,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use crate::{Instant, Monotonic};
|
||||
use crate::{time::Instant, Monotonic};
|
||||
use core::cmp::Ordering;
|
||||
use heapless::{binary_heap::Min, ArrayLength, BinaryHeap};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue