Merge pull request #7675 from czchc/set_usb_detect_pin_ipd

set usbDetectPin to input pull down
This commit is contained in:
Michael Keller 2019-03-01 20:20:17 +13:00 committed by GitHub
commit 2aeedced6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}