From 145b48074eed1aa979be6a013edd3feb69dd8b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Tue, 2 Feb 2021 15:42:51 +0100 Subject: [PATCH] timers: remove spurious tim2 reset --- src/hardware/configuration.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hardware/configuration.rs b/src/hardware/configuration.rs index cbe4a1d..acd98ae 100644 --- a/src/hardware/configuration.rs +++ b/src/hardware/configuration.rs @@ -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);