diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-01-14 22:10:24 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-01-19 17:59:55 +0100 |
| commit | b526addf7b98a9c3612f2299184592dad3cd74f7 (patch) | |
| tree | c686b7996d6fd65cf8863fcbf4c955c4eb2e60c1 /examples/stm32g0/src/bin | |
| parent | 58fc64722c65bbdc209ae0fd1700f03702bbcd08 (diff) | |
stm32/exti: expose all functionality as inherent methods.
Diffstat (limited to 'examples/stm32g0/src/bin')
| -rw-r--r-- | examples/stm32g0/src/bin/button_exti.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/stm32g0/src/bin/button_exti.rs b/examples/stm32g0/src/bin/button_exti.rs index 0c2483ecb..848818bf2 100644 --- a/examples/stm32g0/src/bin/button_exti.rs +++ b/examples/stm32g0/src/bin/button_exti.rs | |||
| @@ -8,7 +8,6 @@ use embassy::executor::Spawner; | |||
| 8 | use embassy_stm32::exti::ExtiInput; | 8 | use embassy_stm32::exti::ExtiInput; |
| 9 | use embassy_stm32::gpio::{Input, Pull}; | 9 | use embassy_stm32::gpio::{Input, Pull}; |
| 10 | use embassy_stm32::Peripherals; | 10 | use embassy_stm32::Peripherals; |
| 11 | use embassy_traits::gpio::{WaitForFallingEdge, WaitForRisingEdge}; | ||
| 12 | use example_common::*; | 11 | use example_common::*; |
| 13 | 12 | ||
| 14 | #[embassy::main] | 13 | #[embassy::main] |
