projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Massive product config cleanup
[fw/altos]
/
src
/
core
/
ao_stdio.c
diff --git
a/src/core/ao_stdio.c
b/src/core/ao_stdio.c
index 2967e705cf013e9c3d08fb12a6e55da1c405f62e..18fa913e5a57126f55524ca87f541e3877e3985a 100644
(file)
--- a/
src/core/ao_stdio.c
+++ b/
src/core/ao_stdio.c
@@
-21,6
+21,12
@@
* Basic I/O functions to support SDCC stdio package
*/
* Basic I/O functions to support SDCC stdio package
*/
+#ifdef SERIAL_STDIN_PORT
+#define USE_SERIAL_STDIN 1
+#else
+#define USE_SERIAL_STDIN 0
+#endif
+
#define AO_NUM_STDIOS (HAS_USB + PACKET_HAS_SLAVE + USE_SERIAL_STDIN)
__xdata struct ao_stdio ao_stdios[AO_NUM_STDIOS];
#define AO_NUM_STDIOS (HAS_USB + PACKET_HAS_SLAVE + USE_SERIAL_STDIN)
__xdata struct ao_stdio ao_stdios[AO_NUM_STDIOS];