summaryrefslogtreecommitdiff
path: root/src/ao_stdio.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-04-01 14:04:58 -0700
committerKeith Packard <keithp@keithp.com>2011-04-01 14:04:58 -0700
commit359ba0d9fc2c5947e6adc98bebcd061069c61e79 (patch)
tree5f5a398d56fd4fb7276462ba14578226cfdb28c3 /src/ao_stdio.c
parentce18eaa28b1385c962c09459cbc5f20e234d9ad5 (diff)
altos: expose set of available stdio values
This lets external code manipulate which connection to communicate over. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_stdio.c')
-rw-r--r--src/ao_stdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ao_stdio.c b/src/ao_stdio.c
index c7080ec1..3dd457f7 100644
--- a/src/ao_stdio.c
+++ b/src/ao_stdio.c
@@ -24,8 +24,8 @@
#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;
-static __data int8_t ao_num_stdios;
+__data int8_t ao_cur_stdio;
+__data int8_t ao_num_stdios;
void
putchar(char c)