aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/stm32l0/src/bin/dds.rs8
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
4use core::option::Option::Some; 4use core::option::Option::Some;
5
5use defmt::info; 6use defmt::info;
6use defmt_rtt as _; // global logger 7use defmt_rtt as _; // global logger
7use embassy_executor::Spawner; 8use embassy_executor::Spawner;
8use embassy_stm32::gpio::OutputType; 9use embassy_stm32::gpio::OutputType;
9use embassy_stm32::interrupt;
10use embassy_stm32::pac;
11use embassy_stm32::rcc::*; 10use embassy_stm32::rcc::*;
12use embassy_stm32::time::hz; 11use embassy_stm32::time::hz;
13use embassy_stm32::timer::low_level::Timer as LLTimer; 12use embassy_stm32::timer::low_level::{Timer as LLTimer, *};
14use embassy_stm32::timer::low_level::*;
15use embassy_stm32::timer::simple_pwm::PwmPin; 13use embassy_stm32::timer::simple_pwm::PwmPin;
16use embassy_stm32::timer::Channel; 14use embassy_stm32::timer::Channel;
17use embassy_stm32::Config; 15use embassy_stm32::{interrupt, pac, Config};
18use panic_probe as _; 16use panic_probe as _;
19 17
20const DDS_SINE_DATA: [u8; 256] = [ 18const DDS_SINE_DATA: [u8; 256] = [