repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add external libraries and update stm version
[mTask.git]
/
int
/
nucleo-f767-blinky
/
src
/
task.c
diff --git
a/int/nucleo-f767-blinky/src/task.c
b/int/nucleo-f767-blinky/src/task.c
index
07b7de8
..
29c955b
100644
(file)
--- a/
int/nucleo-f767-blinky/src/task.c
+++ b/
int/nucleo-f767-blinky/src/task.c
@@
-6,8
+6,8
@@
#include <stdio.h>
#endif
#include <stdio.h>
#endif
-#include "misc.h"
#include "task.h"
#include "task.h"
+#include "interface.h"
struct task tasks[MAXTASKS];
struct task tasks[MAXTASKS];
@@
-43,6
+43,7
@@
int task_register()
//Return the task number for later removal
debug("Received a task of length %d\n", tasks[ct].tlen);
tasks[ct].used = true;
//Return the task number for later removal
debug("Received a task of length %d\n", tasks[ct].tlen);
tasks[ct].used = true;
+ tasks[ct].lastrun = 0L;
return ct;
}
return ct;
}