timers: remove spurious tim2 reset

master
Robert Jördens 2021-02-02 15:42:51 +01:00
parent dcc71d5d11
commit 145b48074e
1 changed files with 0 additions and 1 deletions

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);