minor fix
This commit is contained in:
parent
5b907aa076
commit
6a7c8d6341
@ -29,9 +29,7 @@
|
|||||||
#include "common-hal/microcontroller/Pin.h"
|
#include "common-hal/microcontroller/Pin.h"
|
||||||
|
|
||||||
void stm32f4_peripherals_gpio_init(void) {
|
void stm32f4_peripherals_gpio_init(void) {
|
||||||
//Enable all GPIO for now
|
//* GPIO Ports Clock Enable */
|
||||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
|
||||||
/* GPIO Ports Clock Enable */
|
|
||||||
__HAL_RCC_GPIOE_CLK_ENABLE();
|
__HAL_RCC_GPIOE_CLK_ENABLE();
|
||||||
__HAL_RCC_GPIOC_CLK_ENABLE();
|
__HAL_RCC_GPIOC_CLK_ENABLE();
|
||||||
__HAL_RCC_GPIOH_CLK_ENABLE();
|
__HAL_RCC_GPIOH_CLK_ENABLE();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user