diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-08-07 11:33:31 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-08-08 00:27:28 -0400 |
commit | a9982beacf184ccdc4bf1221852c900b0809537d (patch) | |
tree | 0c7774106b678688361ae8b4ffc346eb51b7b013 /src/command.c | |
parent | e9d2ec7c41c60ab74fe2850fb0787af7bb3361f4 (diff) | |
download | kutter-a9982beacf184ccdc4bf1221852c900b0809537d.tar.gz kutter-a9982beacf184ccdc4bf1221852c900b0809537d.tar.xz kutter-a9982beacf184ccdc4bf1221852c900b0809537d.zip |
sched: Introduce sched_wake_tasks() function to wake up tasks
Add function to indicate when tasks need to be run. This will allow
the scheduler code to know if there are any tasks that need to be
processed.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c index 53263a8f..87284ee8 100644 --- a/src/command.c +++ b/src/command.c @@ -11,7 +11,7 @@ #include "board/misc.h" // crc16_ccitt #include "board/pgm.h" // READP #include "command.h" // output_P -#include "sched.h" // DECL_TASK +#include "sched.h" // sched_is_shutdown static uint8_t next_sequence = MESSAGE_DEST; |