aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorshufps <[email protected]>2024-06-28 14:43:39 +0200
committershufps <[email protected]>2024-06-28 14:43:39 +0200
commitb2a0eb3cb4b9d0f9b4ecc12b6e5437e4616b4aa6 (patch)
tree56a06d33775877388ae34dc98056be01138d8d0e /examples
parentece6203a996207f25db737032d3e0dae3df80b64 (diff)
added comment
Diffstat (limited to 'examples')
-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