We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c0d86c commit c47898aCopy full SHA for c47898a
cores/arduino/wiring.c
@@ -64,12 +64,6 @@ void init( void )
64
65
stm32l0_dma_configure(STM32L0_ADC_IRQ_PRIORITY, STM32L0_UART_IRQ_PRIORITY, STM32L0_UART_IRQ_PRIORITY);
66
67
-#if defined(STM32L0_CONFIG_PIN_VBUS)
68
- if (STM32L0_CONFIG_PIN_VBUS != STM32L0_GPIO_PIN_NONE) {
69
- stm32l0_gpio_pin_configure(STM32L0_CONFIG_PIN_VBUS, (STM32L0_GPIO_PARK_HIZ | STM32L0_GPIO_PUPD_PULLDOWN | STM32L0_GPIO_OSPEED_LOW | STM32L0_GPIO_OTYPE_PUSHPULL | STM32L0_GPIO_MODE_INPUT));
70
- }
71
-#endif
72
-
73
#if defined(STM32L0_CONFIG_PIN_VBAT)
74
stm32l0_gpio_pin_configure(STM32L0_CONFIG_PIN_VBAT, (STM32L0_GPIO_PARK_NONE | STM32L0_GPIO_MODE_ANALOG));
75
#endif
0 commit comments