From 9671ca6c42544463fd551f81113c221265a2296e Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 9 Mar 2014 20:57:31 -0700 Subject: [PATCH] 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 --- src/core/ao_stdio.c | 3 +++ 1 file changed, 3 insertions(+) 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 + \ -- 2.30.2