Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilolay committed Jan 1, 2025
1 parent f3b5316 commit 2b62579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rtic2-timer-input-capture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ mod app {

// It is necessary to connect pins PA0 and PA5 through a resistor of 1 kΩ - 10 kΩ

// Configuration of TIM2 in input capture mode
// Configuration of TIM5 in input capture mode
let (mut tim5, (ch1, ..)) = Timer::new(dp.TIM5, &clocks).capture_compare_hz(48000.kHz());
let mut ch1 = ch1.with(gpioa.pa0);
tim5.listen(Event::C1);
Expand Down

0 comments on commit 2b62579

Please sign in to comment.