1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 13:25:30 +03:00

[F7 VCP] Fix conditional for USE_USB_ID option (#8170)

[F7 VCP] Fix conditional for USE_USB_ID option
This commit is contained in:
Michael Keller 2019-05-06 19:04:18 +12:00 committed by mikeller
parent 5bc8bc2fd3
commit a72b5149fb

View file

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