diff options
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); |