summaryrefslogtreecommitdiff
path: root/src/core/ao_task.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-23 02:17:51 -0600
committerKeith Packard <keithp@keithp.com>2013-08-25 22:24:01 -0700
commit56911f27376b0fe91a464e369bb8aa1531b3c7dc (patch)
treeb525a8f527917355b758a1812692fd4a84578f7f /src/core/ao_task.h
parentcb844328322fd7d9f4dafb58b322257a70b347e6 (diff)
altos: Make TeleMini v2.0 fit
Mash lots of storage locations and code around to shrink stuff down to size Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_task.h')
-rw-r--r--src/core/ao_task.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ao_task.h b/src/core/ao_task.h
index 1a4b5b6b..e3a311ed 100644
--- a/src/core/ao_task.h
+++ b/src/core/ao_task.h
@@ -45,7 +45,10 @@ struct ao_task {
#endif
};
+#ifndef AO_NUM_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];