boards/arm/stm32/nucleo-f412zg/src/nucleo-f412zg.h: Remove the duplicate
definition of GPIO_OTGFS_VBUS, it's already defined by stm32f412xx_pinmap.h. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
ece1c5c503
commit
c2275016ec
@ -84,13 +84,10 @@
|
|||||||
|
|
||||||
/* USB OTG FS
|
/* USB OTG FS
|
||||||
*
|
*
|
||||||
* PA9 OTG_FS_VBUS VBUS sensing (also connected to the green LED)
|
|
||||||
* PC0 OTG_FS_PowerSwitchOn
|
* PC0 OTG_FS_PowerSwitchOn
|
||||||
* PD5 OTG_FS_Overcurrent
|
* PD5 OTG_FS_Overcurrent
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define GPIO_OTGFS_VBUS (GPIO_INPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|\
|
|
||||||
GPIO_OPENDRAIN|GPIO_PORTA|GPIO_PIN9)
|
|
||||||
#define GPIO_OTGFS_PWRON (GPIO_OUTPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|\
|
#define GPIO_OTGFS_PWRON (GPIO_OUTPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|\
|
||||||
GPIO_PUSHPULL|GPIO_PORTC|GPIO_PIN0)
|
GPIO_PUSHPULL|GPIO_PORTC|GPIO_PIN0)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user