From 7c991399ac2d411a3cf9fe419f64815f32673bd2 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 31 Mar 2017 19:07:24 -0400 Subject: [PATCH] timer: Remove dup timer_shutdown code Commmit a1c61563 renamed timer_shutdown() to timer_reset() but neglected to delete timer_shutdown(). Signed-off-by: Kevin O'Connor --- src/avr/timer.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/avr/timer.c b/src/avr/timer.c index c0a04624..1c4d03a9 100644 --- a/src/avr/timer.c +++ b/src/avr/timer.c @@ -203,13 +203,3 @@ timer_task(void) irq_enable(); } DECL_TASK(timer_task); - -static void -timer_shutdown(void) -{ - // Reenable timer irq - timer_set(timer_get() + 50); - TIFR1 = 1<