summaryrefslogtreecommitdiff
path: root/src/ao_stdio.c
diff options
context:
space:
mode:
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;