diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2021-08-03 22:08:13 +0200 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2021-08-05 19:14:09 +0200 |
commit | 0ea6a2d8905a146c8899239fe52e739404f13e7e (patch) | |
tree | 0fdc47c7558a062787afea6d1f6a7d0ce5a2f660 /examples/stm32f4/src/bin | |
parent | a4c0ee6df7cd54a3b31524e2c6aaf2b15b61a4d2 (diff) | |
download | embassy-0ea6a2d8905a146c8899239fe52e739404f13e7e.zip |
time: replace dyn clock/alarm with a global Driver trait
Diffstat (limited to 'examples/stm32f4/src/bin')
-rw-r--r-- | examples/stm32f4/src/bin/blinky.rs | 1 | ||||
-rw-r--r-- | examples/stm32f4/src/bin/button_exti.rs | 1 | ||||
-rw-r--r-- | examples/stm32f4/src/bin/hello.rs | 2 | ||||
-rw-r--r-- | examples/stm32f4/src/bin/spi_dma.rs | 1 | ||||
-rw-r--r-- | examples/stm32f4/src/bin/usart_dma.rs | 1 |
5 files changed, 1 insertions, 5 deletions
diff --git a/examples/stm32f4/src/bin/blinky.rs b/examples/stm32f4/src/bin/blinky.rs index 9c695a80..00eab761 100644 --- a/examples/stm32f4/src/bin/blinky.rs +++ b/examples/stm32f4/src/bin/blinky.rs @@ -6,7 +6,6 @@ #[path = "../example_common.rs"] mod example_common; -use defmt::panic; use embassy::executor::Spawner; use embassy::time::{Duration, Timer}; use embassy_stm32::dbgmcu::Dbgmcu; diff --git a/examples/stm32f4/src/bin/button_exti.rs b/examples/stm32f4/src/bin/button_exti.rs index caebdac1..ee43fa7d 100644 --- a/examples/stm32f4/src/bin/button_exti.rs +++ b/examples/stm32f4/src/bin/button_exti.rs @@ -6,7 +6,6 @@ #[path = "../example_common.rs"] mod example_common; -use defmt::panic; use embassy::executor::Spawner; use embassy_stm32::dbgmcu::Dbgmcu; use embassy_stm32::exti::ExtiInput; diff --git a/examples/stm32f4/src/bin/hello.rs b/examples/stm32f4/src/bin/hello.rs index 41d80840..1b8730ae 100644 --- a/examples/stm32f4/src/bin/hello.rs +++ b/examples/stm32f4/src/bin/hello.rs @@ -4,7 +4,7 @@ #![feature(type_alias_impl_trait)] #![allow(incomplete_features)] -use defmt::{info, panic}; +use defmt::info; use embassy::executor::Spawner; use embassy::time::{Duration, Timer}; use embassy_stm32::time::Hertz; diff --git a/examples/stm32f4/src/bin/spi_dma.rs b/examples/stm32f4/src/bin/spi_dma.rs index 9f710112..a965bef7 100644 --- a/examples/stm32f4/src/bin/spi_dma.rs +++ b/examples/stm32f4/src/bin/spi_dma.rs @@ -8,7 +8,6 @@ mod example_common; use core::fmt::Write; use core::str::from_utf8; -use defmt::panic; use embassy::executor::Spawner; use embassy_stm32::dbgmcu::Dbgmcu; use embassy_stm32::spi::{Config, Spi}; diff --git a/examples/stm32f4/src/bin/usart_dma.rs b/examples/stm32f4/src/bin/usart_dma.rs index 5023075f..05a550e9 100644 --- a/examples/stm32f4/src/bin/usart_dma.rs +++ b/examples/stm32f4/src/bin/usart_dma.rs @@ -7,7 +7,6 @@ #[path = "../example_common.rs"] mod example_common; use core::fmt::Write; -use defmt::panic; use embassy::executor::Spawner; use embassy_stm32::dbgmcu::Dbgmcu; use embassy_stm32::dma::NoDma; |