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 2017-03-31 19:07:24 -04:00
parent 384c853a39
commit 7c991399ac
1 changed files with 0 additions and 10 deletions

View File

@ -203,13 +203,3 @@ timer_task(void)
irq_enable(); irq_enable();
} }
DECL_TASK(timer_task); 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);