timers: remove spurious tim2 reset

This commit is contained in:
Robert Jördens 2021-02-02 15:42:51 +01:00
parent dcc71d5d11
commit 145b48074e

View File

@ -154,7 +154,6 @@ pub fn setup(
// Configure the timer to count at the designed tick rate. We will manually set the
// period below.
timer2.pause();
timer2.reset_counter();
timer2.set_tick_freq(design_parameters::TIMER_FREQUENCY);
let mut sampling_timer = timers::SamplingTimer::new(timer2);