summaryrefslogtreecommitdiffstats
path: root/usb
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-03-26 21:45:42 +0100
committerTomasz Kramkowski <tk@the-tk.com>2017-03-26 21:45:42 +0100
commit03f33481c42954ec118d5dd92703b2b2208f4a3a (patch)
tree61ff51b02413e2a7441bf340f9afd8510af29890 /usb
parent6f2090ae7fca871512258623d2bbd5484716a706 (diff)
downloadfmk-03f33481c42954ec118d5dd92703b2b2208f4a3a.tar.gz
fmk-03f33481c42954ec118d5dd92703b2b2208f4a3a.tar.xz
fmk-03f33481c42954ec118d5dd92703b2b2208f4a3a.zip
uart support
Diffstat (limited to 'usb')
-rw-r--r--usb/usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usb/usb.c b/usb/usb.c
index 59519fc..8b78f3b 100644
--- a/usb/usb.c
+++ b/usb/usb.c
@@ -44,6 +44,7 @@ void usb_setup(void)
/* NVIC Enable interrupt */
ISR_CLRPEND(73);
ISR_SETENA(73);
+ INTPRI(73) = 0x00;
/* Enable USB */
USB0_CTL = BV(CTL_USBENSOFEN);