[Nucleo L152RE] Fix USB AF
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
This commit is contained in:
parent
2400bb6f4d
commit
305cdd996d
1 changed files with 2 additions and 2 deletions
|
|
@ -245,8 +245,8 @@ const PinMap PinMap_SPI_SSEL[] = {
|
|||
|
||||
#ifdef HAL_PCD_MODULE_ENABLED
|
||||
const PinMap PinMap_USB[] = {
|
||||
{PA_11, USB, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, GPIO_AF10_USB)}, // USB_DM
|
||||
{PA_12, USB, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, GPIO_AF10_USB)}, // USB_DP
|
||||
{PA_11, USB, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0)}, // USB_DM
|
||||
{PA_12, USB, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0)}, // USB_DP
|
||||
{NC, NP, 0}
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue