summaryrefslogtreecommitdiff
path: root/src/ao_stdio.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-03-31 20:58:14 -0700
committerKeith Packard <keithp@keithp.com>2011-03-31 20:59:07 -0700
commit8e74cf6d1c70a7a17d01c20f6831571245392498 (patch)
tree2857a2387e7e2dc3ddec030eef114f51d767bcc8 /src/ao_stdio.c
parentc0971abc02b05d136aea257f3f40ba3b22b1d441 (diff)
altos: Add initial TeleBT code
Prototyping with a TeleMetrum v0.1 board and a serial link to a bluetooth module. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_stdio.c')
-rw-r--r--src/ao_stdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_stdio.c b/src/ao_stdio.c
index 6e1f5eff..c7080ec1 100644
--- a/src/ao_stdio.c
+++ b/src/ao_stdio.c
@@ -21,7 +21,7 @@
* Basic I/O functions to support SDCC stdio package
*/
-#define AO_NUM_STDIOS 2
+#define AO_NUM_STDIOS (HAS_USB + PACKET_HAS_SLAVE + USE_SERIAL_STDIN)
static __xdata struct ao_stdio stdios[AO_NUM_STDIOS];
static __data int8_t ao_cur_stdio;