X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fcore%2Fao_stdio.c;h=1748dfe8d940ecc550ff41911db01b0259291ec9;hb=760b1f02c178c600226f39b5e66d8cbadbf4a29b;hp=4a832487e6102612c7aeed176247d75c981fd3d9;hpb=0b65402361f36a0c722977bcb63edb26fda0db28;p=fw%2Faltos diff --git a/src/core/ao_stdio.c b/src/core/ao_stdio.c index 4a832487..1748dfe8 100644 --- a/src/core/ao_stdio.c +++ b/src/core/ao_stdio.c @@ -98,7 +98,7 @@ __xdata uint8_t ao_stdin_ready; char getchar(void) __reentrant { - char c; + int c; ao_arch_critical( int8_t stdio = ao_cur_stdio;