diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-07 15:54:37 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-07 15:54:37 -0600 |
commit | 6c6c41ff791f5ab36108c84eb10aca162e48cc0e (patch) | |
tree | 7995212d68c1e06d3272138af169ad5866dba023 /nuttx/configs/sama5d3x-ek/src/sam_usb.c | |
parent | 3b9fcb97ed990bcdfc36df0414828ce4e0ce8100 (diff) | |
download | px4-nuttx-6c6c41ff791f5ab36108c84eb10aca162e48cc0e.tar.gz px4-nuttx-6c6c41ff791f5ab36108c84eb10aca162e48cc0e.tar.bz2 px4-nuttx-6c6c41ff791f5ab36108c84eb10aca162e48cc0e.zip |
Fix some cloned errors in SAM GPIO interrupt setup
Diffstat (limited to 'nuttx/configs/sama5d3x-ek/src/sam_usb.c')
-rw-r--r-- | nuttx/configs/sama5d3x-ek/src/sam_usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/sama5d3x-ek/src/sam_usb.c b/nuttx/configs/sama5d3x-ek/src/sam_usb.c index 556ee2cf1..1c7a86e85 100644 --- a/nuttx/configs/sama5d3x-ek/src/sam_usb.c +++ b/nuttx/configs/sama5d3x-ek/src/sam_usb.c @@ -463,7 +463,7 @@ void sam_usbhost_vbusdrive(int rhport, bool enable) * REVISIT: Since this is a common signal, we will need to come up with some way * to inform both EHCI and OHCI drivers when this error occurs. * - * Input paramter: + * Input Parameter: * handler - New overcurrent interrupt handler * * Returned value: @@ -493,7 +493,7 @@ xcpt_t sam_setup_overcurrent(xcpt_t handler) /* Configure the interrupt */ - sam_pioirq(IRQ_USBBC_VBUS_OVERCURRENT); + sam_pioirq(PIO_USBBC_VBUS_OVERCURRENT); (void)irq_attach(IRQ_USBBC_VBUS_OVERCURRENT, handler); sam_pioirqenable(IRQ_USBBC_VBUS_OVERCURRENT); |