summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-03-09 20:57:31 -0700
committerKeith Packard <keithp@keithp.com>2014-03-09 20:57:31 -0700
commit9671ca6c42544463fd551f81113c221265a2296e (patch)
tree8afe491ac054483648d8ace2c6985a8da0448184 /src
parente1e00a4b67fbdbae339219b35aefd44a1bcf9486 (diff)
altos: Don't require projects to define PACKET_HAS_SLAVE
Really, most don't need it, and whinging about not having it defined isn't useful. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/core/ao_stdio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ao_stdio.c b/src/core/ao_stdio.c
index cd144d6b..99118137 100644
--- a/src/core/ao_stdio.c
+++ b/src/core/ao_stdio.c
@@ -51,6 +51,9 @@
#ifndef USE_SERIAL_9_STDIN
#define USE_SERIAL_9_STDIN 0
#endif
+#ifndef PACKET_HAS_SLAVE
+#define PACKET_HAS_SLAVE 0
+#endif
#define USE_SERIAL_STDIN (USE_SERIAL_0_STDIN + \
USE_SERIAL_1_STDIN + \