aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-03-31 19:07:24 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-03-31 19:20:45 -0400
commit7c991399ac2d411a3cf9fe419f64815f32673bd2 (patch)
treec50432b6001d63e15d60a28de879c1cc1816e9f1
parent384c853a39410ae972e0fd2b30219aa6033916f3 (diff)
downloadkutter-7c991399ac2d411a3cf9fe419f64815f32673bd2.tar.gz
kutter-7c991399ac2d411a3cf9fe419f64815f32673bd2.tar.xz
kutter-7c991399ac2d411a3cf9fe419f64815f32673bd2.zip
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 <kevin@koconnor.net>
-rw-r--r--src/avr/timer.c10
1 files changed, 0 insertions, 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<<OCF1A;
- timer_repeat_set(timer_get() + TIMER_IDLE_REPEAT_TICKS);
-}
-DECL_SHUTDOWN(timer_shutdown);