summaryrefslogtreecommitdiff
path: root/src/ao_usb.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-05-05 01:31:57 -0700
committerKeith Packard <keithp@keithp.com>2010-05-05 01:33:25 -0700
commite6bb80975fde20928a830170f0821d59a8c72690 (patch)
treec69580b5a76de9608f93e5ba0fe26313fe1c7d2a /src/ao_usb.c
parentff03cdf746b83542ebcca00d32e6cc69ccfc122d (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_usb.c')
-rw-r--r--src/ao_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_usb.c b/src/ao_usb.c
index 527e9b30..e4af8e45 100644
--- a/src/ao_usb.c
+++ b/src/ao_usb.c
@@ -395,7 +395,7 @@ ao_usb_pollchar(void) __critical
}
char
-ao_usb_getchar(void)
+ao_usb_getchar(void) __critical
{
char c;