From 6d05dd07f59ef21dc81a299e865cdee1fc1d3f8e Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 27 Mar 2017 16:38:01 -0400 Subject: sched: Move timer dispatch loop to board code Rename sched_timer_kick() to sched_timer_dispatch() and move its loop into its callers in the board code. This eliminates the need to export timer_try_set_next() from the board code. Signed-off-by: Kevin O'Connor --- src/avr/timer.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'src/avr/timer.c') diff --git a/src/avr/timer.c b/src/avr/timer.c index e9ec8dd0..f8686998 100644 --- a/src/avr/timer.c +++ b/src/avr/timer.c @@ -70,11 +70,6 @@ timer_repeat_set(uint16_t next) TIFR1 = 1<