aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32l0/src/bin/dds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32l0/src/bin/dds.rs')
-rw-r--r--examples/stm32l0/src/bin/dds.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/stm32l0/src/bin/dds.rs b/examples/stm32l0/src/bin/dds.rs
index 9759fc8f3..21647a68d 100644
--- a/examples/stm32l0/src/bin/dds.rs
+++ b/examples/stm32l0/src/bin/dds.rs
@@ -75,6 +75,7 @@ async fn main(_spawner: Spawner) {
75 let _ch3 = PwmPin::new_ch3(p.PA2, OutputType::PushPull); 75 let _ch3 = PwmPin::new_ch3(p.PA2, OutputType::PushPull);
76 76
77 // initialize timer 77 // initialize timer
78 // we cannot use SimplePWM here because the Time is privately encapsulated
78 let timer = LLTimer::new(p.TIM2); 79 let timer = LLTimer::new(p.TIM2);
79 80
80 // set counting mode 81 // set counting mode