From c2275016ecc2e9584b5455212943d035eb018194 Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Fri, 28 May 2021 12:31:19 +0100 Subject: [PATCH] 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 --- boards/arm/stm32/nucleo-f412zg/src/nucleo-f412zg.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/boards/arm/stm32/nucleo-f412zg/src/nucleo-f412zg.h b/boards/arm/stm32/nucleo-f412zg/src/nucleo-f412zg.h index fe4157812f..fb0bb1f4ea 100644 --- a/boards/arm/stm32/nucleo-f412zg/src/nucleo-f412zg.h +++ b/boards/arm/stm32/nucleo-f412zg/src/nucleo-f412zg.h @@ -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)