mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
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:
committed by
David Sidrane
parent
ece1c5c503
commit
c2275016ec
@@ -84,13 +84,10 @@
|
||||
|
||||
/* USB OTG FS
|
||||
*
|
||||
* PA9 OTG_FS_VBUS VBUS sensing (also connected to the green LED)
|
||||
* PC0 OTG_FS_PowerSwitchOn
|
||||
* 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|\
|
||||
GPIO_PUSHPULL|GPIO_PORTC|GPIO_PIN0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user