X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fao_stdio.c;h=c7080ec147407916c59fcf174cdba68d51ea2aba;hb=8e74cf6d1c70a7a17d01c20f6831571245392498;hp=6e1f5effde50409d1f89967381a9d5054ce8a05a;hpb=c0971abc02b05d136aea257f3f40ba3b22b1d441;p=fw%2Faltos 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;