diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2020-12-13 00:06:50 +0100 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2020-12-13 00:06:50 +0100 |
| commit | 35b4ec0d0435879cca97536b5c866fc2ac2e9210 (patch) | |
| tree | e9945d32d6f3e67314f804b4095338590b8e04f8 /src | |
| parent | 1c8de78f6f6e9e265d9d894d2ebde622bf16d44e (diff) | |
Reexport embedded-time as rtic::time
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 2 | ||||
| -rw-r--r-- | src/tq.rs | 2 |
2 files changed, 2 insertions, 2 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}; |
