projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Make TeleMini v2.0 fit
[fw/altos]
/
src
/
core
/
ao_task.h
diff --git
a/src/core/ao_task.h
b/src/core/ao_task.h
index 1a4b5b6ba94ca5c604e6a6cc139844514243f26e..e3a311ed1c187f2eb8defda23998375d3661ead6 100644
(file)
--- a/
src/core/ao_task.h
+++ b/
src/core/ao_task.h
@@
-45,7
+45,10
@@
struct ao_task {
#endif
};
#endif
};
+#ifndef AO_NUM_TASKS
#define AO_NUM_TASKS 16 /* maximum number of tasks */
#define AO_NUM_TASKS 16 /* maximum number of tasks */
+#endif
+
#define AO_NO_TASK 0 /* no task id */
extern __xdata struct ao_task * __xdata ao_tasks[AO_NUM_TASKS];
#define AO_NO_TASK 0 /* no task id */
extern __xdata struct ao_task * __xdata ao_tasks[AO_NUM_TASKS];