mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
F7 VCP fix for USE_USB_ID
This commit is contained in:
parent
de1c1d5377
commit
735d2dde9f
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;
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||||
}
|
}
|
||||||
#if USE_USB_ID
|
#ifdef USE_USB_ID
|
||||||
/* Configure ID pin */
|
/* Configure ID pin */
|
||||||
GPIO_InitStruct.Pin = GPIO_PIN_10;
|
GPIO_InitStruct.Pin = GPIO_PIN_10;
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
|
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue