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-03-10 21:02:59 -0700
commit8083aeb07167a1a68a168f16ac951b6de7b197ea (patch)
treee32ce77901c14cde263870298ab503af4a81fe4c /src/core/ao_task.h
parent5187bb4402874f654fcef5ffdf237edf97a26b8c (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) */