summaryrefslogtreecommitdiff
path: root/src/ao_usb.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-05-06 23:12:47 -0700
committerKeith Packard <keithp@keithp.com>2011-05-06 23:12:47 -0700
commit66bdf0e066bc0bb7a326a6c2a9c88b69e5c1be66 (patch)
tree11fcb2c16c3f61af78cf86be9dad01794032afb4 /src/ao_usb.c
parent8be559baa979c15e78f8dba7879b383dbe3936d3 (diff)
altos: clear CPU port 1 interrupt flag when handled
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_usb.c')
-rw-r--r--src/ao_usb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ao_usb.c b/src/ao_usb.c
index dd752152..e4b7938d 100644
--- a/src/ao_usb.c
+++ b/src/ao_usb.c
@@ -46,7 +46,6 @@ void
ao_usb_isr(void) __interrupt 6
{
USBIF = 0;
- IRCON2 &= ~IRCON2_USBIF;
ao_usb_iif |= USBIIF;
if (ao_usb_iif & 1)
ao_wakeup(&ao_usb_task);