altos: Don't require projects to define PACKET_HAS_SLAVE
authorKeith Packard <keithp@keithp.com>
Mon, 10 Mar 2014 03:57:31 +0000 (20:57 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 10 Mar 2014 03:57:31 +0000 (20:57 -0700)
Really, most don't need it, and whinging about not having it defined
isn't useful.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_stdio.c

index cd144d6b45899861d1640478ab1bed393f5f98c6..9911813778698fadb89b1e40ec69ee6f91676f89 100644 (file)
@@ -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 +  \