set usbDetectPin to input pull down
This commit is contained in:
parent
06d9f54f77
commit
148ee91b1f
|
@ -49,7 +49,7 @@ void usbCableDetectInit(void)
|
|||
usbDetectPin = IOGetByTag(IO_TAG(USB_DETECT_PIN));
|
||||
|
||||
IOInit(usbDetectPin, OWNER_USB_DETECT, 0);
|
||||
IOConfigGPIO(usbDetectPin, IOCFG_OUT_PP);
|
||||
IOConfigGPIO(usbDetectPin, IOCFG_IPD);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue