diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-08-25 20:34:25 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-08-25 21:06:27 +0200 |
| commit | c4b9c8ac8762fdca52b6c37dd99346b2371387ab (patch) | |
| tree | 43ff26742e7bcab026284759d3a4a7100bd9db9f /examples/std/src/bin/tick.rs | |
| parent | 7c0990ad1e8d1a455818740973ca0267bb3f5854 (diff) | |
std: fold into embassy core, add non-hacky time driver.
Diffstat (limited to 'examples/std/src/bin/tick.rs')
| -rw-r--r-- | examples/std/src/bin/tick.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/std/src/bin/tick.rs b/examples/std/src/bin/tick.rs index 16f54b2c6..385b317d4 100644 --- a/examples/std/src/bin/tick.rs +++ b/examples/std/src/bin/tick.rs | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | #![feature(type_alias_impl_trait)] | 1 | #![feature(type_alias_impl_trait)] |
| 2 | #![allow(incomplete_features)] | 2 | #![allow(incomplete_features)] |
| 3 | 3 | ||
| 4 | use embassy::executor::Executor; | ||
| 4 | use embassy::time::{Duration, Timer}; | 5 | use embassy::time::{Duration, Timer}; |
| 5 | use embassy::util::Forever; | 6 | use embassy::util::Forever; |
| 6 | use embassy_std::Executor; | ||
| 7 | use log::*; | 7 | use log::*; |
| 8 | 8 | ||
| 9 | #[embassy::task] | 9 | #[embassy::task] |
