summaryrefslogtreecommitdiff
path: root/src/core/ao_task.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-03-10 21:02:59 -0700
committerKeith Packard <keithp@keithp.com>2013-05-07 20:15:43 -0700
commitc9c35b100c3fcae661501d2bf89eedc7fceb2e1c (patch)
treec2db5892a973c33346d1985405f2f88a6b3d87b6 /src/core/ao_task.h
parenta6887032b4d217bca5236ea15389218f10d69545 (diff)
altos: Make stm-flash capable of switching to application
This shrinks the base OS load down a bit as well so that stm-flash fits comfortably in the first 8kB of memory. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_task.h')
-rw-r--r--src/core/ao_task.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ao_task.h b/src/core/ao_task.h
index 50bfb220..1a4b5b6b 100644
--- a/src/core/ao_task.h
+++ b/src/core/ao_task.h
@@ -21,6 +21,10 @@
#include <ao_list.h>
#endif
+#ifndef HAS_TASK_INFO
+#define HAS_TASK_INFO 1
+#endif
+
/* An AltOS task */
struct ao_task {
__xdata void *wchan; /* current wait channel (NULL if running) */