Allow for more than one serial port in core AltOS
authorKeith Packard <keithp@keithp.com>
Fri, 23 Mar 2012 07:01:50 +0000 (00:01 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 29 Mar 2012 04:37:03 +0000 (21:37 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao.h

index 86a943a8f1e832746191f44298eba1c838ac64ae..b2f3305f6a9e261ecfe6c867a858e7f8a1bcaae9 100644 (file)
@@ -899,7 +899,7 @@ ao_dbg_init(void);
 #error Please define HAS_SERIAL_1
 #endif
 
-#if HAS_SERIAL_1
+#if HAS_SERIAL_1 | HAS_SERIAL_2 | HAS_SERIAL_3
 #ifndef USE_SERIAL_STDIN
 #error Please define USE_SERIAL_STDIN
 #endif