diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-07-27 12:19:09 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-08-08 00:27:27 -0400 |
commit | 6a63c27542fc7b432ed438ce1d62243b5aebc3da (patch) | |
tree | ddcbb04f33248fdff3153c6fb4ea54711e9840ba /src/generic/timer_irq.c | |
parent | 62f77f6bc56e0fcffdcdd4dcf2cfd6a7669099f2 (diff) | |
download | kutter-6a63c27542fc7b432ed438ce1d62243b5aebc3da.tar.gz kutter-6a63c27542fc7b432ed438ce1d62243b5aebc3da.tar.xz kutter-6a63c27542fc7b432ed438ce1d62243b5aebc3da.zip |
sched: Support adding timers to the start of timer_list
If sched_add_timer() is called on a timer that would make it the new
head of the list, then add it and signal the board code that the timer
should be rescheduled.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/generic/timer_irq.c')
-rw-r--r-- | src/generic/timer_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generic/timer_irq.c b/src/generic/timer_irq.c index 6c14f9ae..127601e2 100644 --- a/src/generic/timer_irq.c +++ b/src/generic/timer_irq.c @@ -10,7 +10,7 @@ #include "board/timer_irq.h" // timer_dispatch_many #include "basecmd.h" // stats_note_sleep #include "command.h" // shutdown -#include "sched.h" // sched_timer_kick +#include "sched.h" // sched_timer_dispatch DECL_CONSTANT(CLOCK_FREQ, CONFIG_CLOCK_FREQ); |