From: Keith Packard Date: Mon, 10 Mar 2014 03:57:31 +0000 (-0700) Subject: altos: Don't require projects to define PACKET_HAS_SLAVE X-Git-Tag: 1.3.2.2~166 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=9671ca6c42544463fd551f81113c221265a2296e 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 --- 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 + \