Skip to content

Commit dffac11

Browse files
authored
Merge pull request #3040 from hierophect/stm32-portd-hotfix
STM32: Add port D to LQFP64
2 parents b3b38c1 + fd4aafa commit dffac11

File tree

1 file changed

+2
-2
lines changed
  • ports/stm/common-hal/microcontroller

1 file changed

+2
-2
lines changed

ports/stm/common-hal/microcontroller/Pin.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ bool neopixel_in_use;
4646
#define GPIO_PORT_COUNT 5
4747
GPIO_TypeDef * ports[GPIO_PORT_COUNT] = {GPIOA, GPIOB, GPIOC, GPIOD, GPIOE};
4848
#elif defined(LQFP64)
49-
#define GPIO_PORT_COUNT 3
50-
GPIO_TypeDef * ports[GPIO_PORT_COUNT] = {GPIOA, GPIOB, GPIOC};
49+
#define GPIO_PORT_COUNT 4
50+
GPIO_TypeDef * ports[GPIO_PORT_COUNT] = {GPIOA, GPIOB, GPIOC, GPIOD};
5151
#elif defined(UFQFPN48)
5252
#define GPIO_PORT_COUNT 3
5353
GPIO_TypeDef * ports[GPIO_PORT_COUNT] = {GPIOA, GPIOB, GPIOC};

0 commit comments

Comments
 (0)