aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f1/src/bin
diff options
context:
space:
mode:
authormelvdl <[email protected]>2025-06-27 01:08:45 +0200
committermelvdl <[email protected]>2025-06-27 01:08:45 +0200
commit41327c1325367177548dabc644636617274de7f4 (patch)
treeb389d87f80f0843db946635837691982e41740a0 /examples/stm32f1/src/bin
parent6f88c2c73caa63a6e534130f4a064cb95d3e9d7d (diff)
stm32: adapt examples to timer API changes
Diffstat (limited to 'examples/stm32f1/src/bin')
-rw-r--r--examples/stm32f1/src/bin/input_capture.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32f1/src/bin/input_capture.rs b/examples/stm32f1/src/bin/input_capture.rs
index 6fe8e0b50..84811fb95 100644
--- a/examples/stm32f1/src/bin/input_capture.rs
+++ b/examples/stm32f1/src/bin/input_capture.rs
@@ -39,7 +39,7 @@ async fn main(spawner: Spawner) {
39 39
40 unwrap!(spawner.spawn(blinky(p.PC13))); 40 unwrap!(spawner.spawn(blinky(p.PC13)));
41 41
42 let ch3 = CapturePin::new_ch3(p.PA2, Pull::None); 42 let ch3 = CapturePin::new(p.PA2, Pull::None);
43 let mut ic = InputCapture::new(p.TIM2, None, None, Some(ch3), None, Irqs, khz(1000), Default::default()); 43 let mut ic = InputCapture::new(p.TIM2, None, None, Some(ch3), None, Irqs, khz(1000), Default::default());
44 44
45 loop { 45 loop {