mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +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:
parent
5bc8bc2fd3
commit
a72b5149fb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue