altos: Check all USE_SERIAL_*_STDIO when computing AO_NUM_STDIOS
authorKeith Packard <keithp@keithp.com>
Sat, 14 Apr 2012 01:35:46 +0000 (18:35 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 14 Apr 2012 21:04:29 +0000 (14:04 -0700)
commit1a84d34fa08f43a5f79b1a5f8d8de7674d04647d
treebf263f73360f04825306891b168aeddf1d6b2a4a
parent3c67543f3e5fddc6a8850f33ac519ccd55b607f0
altos: Check all USE_SERIAL_*_STDIO when computing AO_NUM_STDIOS

AO_NUM_STDIOS is allocated based on the total number of possible stdio
values. Now that multiple serial stdio are possible, make sure to
check all of them.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_stdio.c