diff options
| author | Keith Packard <keithp@keithp.com> | 2010-05-05 01:31:57 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-05-05 01:33:25 -0700 | 
| commit | e6bb80975fde20928a830170f0821d59a8c72690 (patch) | |
| tree | c69580b5a76de9608f93e5ba0fe26313fe1c7d2a /src/ao_packet_master.c | |
| parent | ff03cdf746b83542ebcca00d32e6cc69ccfc122d (diff) | |
Fix all stdio reading functions to be __critical
Oh, right SDCC has '__critical' to mark sections of code that need to
run with interrupts disabled; no need to use EA = 0 and EA = 1.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_packet_master.c')
| -rw-r--r-- | src/ao_packet_master.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_packet_master.c b/src/ao_packet_master.c index a499ce59..ef86fa28 100644 --- a/src/ao_packet_master.c +++ b/src/ao_packet_master.c @@ -18,7 +18,7 @@  #include "ao.h"  static char -ao_packet_getchar(void) +ao_packet_getchar(void) __critical  {  	char c;  	while ((c = ao_packet_pollchar()) == AO_READ_AGAIN)  | 
