diff options
author | Keith Packard <keithp@keithp.com> | 2010-02-20 20:22:16 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-02-20 20:30:27 -0800 |
commit | 84c93bb2fc4558a5e4654794ba90e730a84eaf67 (patch) | |
tree | 4d279672734ec5c3e50976917ccbf33a306a740d /src/ao_stdio.c | |
parent | fd0a42e0e96dcb8ecc9e999f70bcf70692692af9 (diff) |
Change altos build process to support per-product compile-time changes
This creates per-product subdirectories and recompiles everything for
each product, allowing per-product compile-time changes for things
like peripheral pin assignments and attached serial devices.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_stdio.c')
-rw-r--r-- | src/ao_stdio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ao_stdio.c b/src/ao_stdio.c index 7bc416e1..8add30b8 100644 --- a/src/ao_stdio.c +++ b/src/ao_stdio.c @@ -38,7 +38,8 @@ putchar(char c) void flush(void) { - stdios[ao_cur_stdio].flush(); + if (stdios[ao_cur_stdio].flush) + stdios[ao_cur_stdio].flush(); } __xdata uint8_t ao_stdin_ready; |