Skip to content

Commit 6a7c8d6

Browse files
committed
minor fix
1 parent 5b907aa commit 6a7c8d6

File tree

1 file changed

+1
-3
lines changed
  • ports/stm32f4/peripherals/stm32f4/stm32f411xe

1 file changed

+1
-3
lines changed

ports/stm32f4/peripherals/stm32f4/stm32f411xe/gpio.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
#include "common-hal/microcontroller/Pin.h"
3030

3131
void stm32f4_peripherals_gpio_init(void) {
32-
//Enable all GPIO for now
33-
GPIO_InitTypeDef GPIO_InitStruct = {0};
34-
/* GPIO Ports Clock Enable */
32+
//* GPIO Ports Clock Enable */
3533
__HAL_RCC_GPIOE_CLK_ENABLE();
3634
__HAL_RCC_GPIOC_CLK_ENABLE();
3735
__HAL_RCC_GPIOH_CLK_ENABLE();

0 commit comments

Comments
 (0)