aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshufps <[email protected]>2024-06-28 14:52:21 +0200
committershufps <[email protected]>2024-06-28 14:52:21 +0200
commit2462a22140834e80e63465dabcf8a783e1adb94f (patch)
tree088ee63012d1a16a37d9e0fa0f4e3166e5896534
parentb2a0eb3cb4b9d0f9b4ecc12b6e5437e4616b4aa6 (diff)
format
-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] = [