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>
This commit is contained in:
Kevin O'Connor committed 2017-03-31 19:20:45 -04:00
1 parent 384c853a39
commit 7c991399ac
1 file changed
-10
-10
View File
@@ -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);