mirror of https://github.com/Desuuuu/klipper.git
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:
parent
384c853a39
commit
7c991399ac
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue