diff options
| author | Matous Hybl <[email protected]> | 2022-03-27 19:29:29 +0200 |
|---|---|---|
| committer | Matous Hybl <[email protected]> | 2022-04-07 12:57:02 +0200 |
| commit | eb6910fa868a1af1a9d64ba1f5565eaaf437f7b9 (patch) | |
| tree | 479d1b17b4c944836bb9fd1b1a9f0a35bfab10c5 /examples/stm32h7/src/bin/low_level_timer_api.rs | |
| parent | fee0aef076718adcb2c654920712aa20786c94be (diff) | |
Reexport unborrow macro in HALs
Diffstat (limited to 'examples/stm32h7/src/bin/low_level_timer_api.rs')
| -rw-r--r-- | examples/stm32h7/src/bin/low_level_timer_api.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32h7/src/bin/low_level_timer_api.rs b/examples/stm32h7/src/bin/low_level_timer_api.rs index 9ddfd8b27..3b1b8044d 100644 --- a/examples/stm32h7/src/bin/low_level_timer_api.rs +++ b/examples/stm32h7/src/bin/low_level_timer_api.rs | |||
| @@ -10,11 +10,11 @@ use defmt::*; | |||
| 10 | use embassy::executor::Spawner; | 10 | use embassy::executor::Spawner; |
| 11 | use embassy::time::{Duration, Timer}; | 11 | use embassy::time::{Duration, Timer}; |
| 12 | use embassy::util::Unborrow; | 12 | use embassy::util::Unborrow; |
| 13 | use embassy_hal_common::unborrow; | ||
| 14 | use embassy_stm32::gpio::low_level::AFType; | 13 | use embassy_stm32::gpio::low_level::AFType; |
| 15 | use embassy_stm32::gpio::Speed; | 14 | use embassy_stm32::gpio::Speed; |
| 16 | use embassy_stm32::pwm::*; | 15 | use embassy_stm32::pwm::*; |
| 17 | use embassy_stm32::time::{Hertz, U32Ext}; | 16 | use embassy_stm32::time::{Hertz, U32Ext}; |
| 17 | use embassy_stm32::unborrow; | ||
| 18 | use embassy_stm32::{Config, Peripherals}; | 18 | use embassy_stm32::{Config, Peripherals}; |
| 19 | 19 | ||
| 20 | pub fn config() -> Config { | 20 | pub fn config() -> Config { |
