summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/olimex-lpc-h3131/src/lpc31_usbhost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/olimex-lpc-h3131/src/lpc31_usbhost.c b/nuttx/configs/olimex-lpc-h3131/src/lpc31_usbhost.c
index 3c6108bef..f321123b4 100644
--- a/nuttx/configs/olimex-lpc-h3131/src/lpc31_usbhost.c
+++ b/nuttx/configs/olimex-lpc-h3131/src/lpc31_usbhost.c
@@ -160,7 +160,7 @@ void weak_function lpc31_usbhost_bootinitialize(void)
/* Configure input pin to detect overrcurrent errors */
- gpio_outputhigh(LPC31_IOCONFIG_GPIO, GPIO_NOTG_OVRCR);
+ gpio_configinput(LPC31_IOCONFIG_GPIO, GPIO_NOTG_OVRCR);
/* Configure to receive interrupts on the overrcurrent input pin */
#warning Missing logic