projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: eeprom files place 'boost' time in the flight number record.
[fw/altos]
/
src
/
ao_stdio.c
diff --git
a/src/ao_stdio.c
b/src/ao_stdio.c
index 045dff09f340e92b7b32b62ba2ceb914cfc2724f..78bbd3c3dab3e3d52d0731be50827e983c642dcb 100644
(file)
--- a/
src/ao_stdio.c
+++ b/
src/ao_stdio.c
@@
-45,12
+45,11
@@
flush(void)
__xdata uint8_t ao_stdin_ready;
char
__xdata uint8_t ao_stdin_ready;
char
-getchar(void) __reentrant
+getchar(void) __reentrant
__critical
{
char c;
int8_t stdio = ao_cur_stdio;
{
char c;
int8_t stdio = ao_cur_stdio;
- EA = 0;
for (;;) {
c = stdios[stdio].pollchar();
if (c != AO_READ_AGAIN)
for (;;) {
c = stdios[stdio].pollchar();
if (c != AO_READ_AGAIN)
@@
-60,7
+59,6
@@
getchar(void) __reentrant
if (stdio == ao_cur_stdio)
ao_sleep(&ao_stdin_ready);
}
if (stdio == ao_cur_stdio)
ao_sleep(&ao_stdin_ready);
}
- EA = 1;
ao_cur_stdio = stdio;
return c;
}
ao_cur_stdio = stdio;
return c;
}