diff options
| -rw-r--r-- | examples/stm32l0/src/bin/dds.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/stm32l0/src/bin/dds.rs b/examples/stm32l0/src/bin/dds.rs index 21647a68d..a54b28a93 100644 --- a/examples/stm32l0/src/bin/dds.rs +++ b/examples/stm32l0/src/bin/dds.rs | |||
| @@ -2,19 +2,17 @@ | |||
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | 3 | ||
| 4 | use core::option::Option::Some; | 4 | use core::option::Option::Some; |
| 5 | |||
| 5 | use defmt::info; | 6 | use defmt::info; |
| 6 | use defmt_rtt as _; // global logger | 7 | use defmt_rtt as _; // global logger |
| 7 | use embassy_executor::Spawner; | 8 | use embassy_executor::Spawner; |
| 8 | use embassy_stm32::gpio::OutputType; | 9 | use embassy_stm32::gpio::OutputType; |
| 9 | use embassy_stm32::interrupt; | ||
| 10 | use embassy_stm32::pac; | ||
| 11 | use embassy_stm32::rcc::*; | 10 | use embassy_stm32::rcc::*; |
| 12 | use embassy_stm32::time::hz; | 11 | use embassy_stm32::time::hz; |
| 13 | use embassy_stm32::timer::low_level::Timer as LLTimer; | 12 | use embassy_stm32::timer::low_level::{Timer as LLTimer, *}; |
| 14 | use embassy_stm32::timer::low_level::*; | ||
| 15 | use embassy_stm32::timer::simple_pwm::PwmPin; | 13 | use embassy_stm32::timer::simple_pwm::PwmPin; |
| 16 | use embassy_stm32::timer::Channel; | 14 | use embassy_stm32::timer::Channel; |
| 17 | use embassy_stm32::Config; | 15 | use embassy_stm32::{interrupt, pac, Config}; |
| 18 | use panic_probe as _; | 16 | use panic_probe as _; |
| 19 | 17 | ||
| 20 | const DDS_SINE_DATA: [u8; 256] = [ | 18 | const DDS_SINE_DATA: [u8; 256] = [ |
