From a72b5149fb703e0345b89fd4b22b01cd5b97c56d Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Mon, 6 May 2019 19:04:18 +1200 Subject: [PATCH] [F7 VCP] Fix conditional for USE_USB_ID option (#8170) [F7 VCP] Fix conditional for USE_USB_ID option --- src/main/vcp_hal/usbd_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/vcp_hal/usbd_conf.c b/src/main/vcp_hal/usbd_conf.c index 6c96763fbd..77b079ee04 100644 --- a/src/main/vcp_hal/usbd_conf.c +++ b/src/main/vcp_hal/usbd_conf.c @@ -115,7 +115,7 @@ void HAL_PCD_MspInit(PCD_HandleTypeDef *hpcd) GPIO_InitStruct.Pull = GPIO_NOPULL; HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); } -#if USE_USB_ID +#ifdef USE_USB_ID /* Configure ID pin */ GPIO_InitStruct.Pin = GPIO_PIN_10; GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;