diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-06-16 11:24:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-16 11:24:28 -0700 |
| commit | dffac11c2fccb6c0ca859a38f7649e13ccdc9081 (patch) | |
| tree | f20ba09ac67aa7bd24aecaaeadd8d05ed4c98714 | |
| parent | b3b38c18c5d6c18777c42eeb160a088c44905168 (diff) | |
| parent | fd4aafacbe9251177694598ea65f51f59af3f614 (diff) | |
Merge pull request #3040 from hierophect/stm32-portd-hotfix
STM32: Add port D to LQFP64
| -rw-r--r-- | ports/stm/common-hal/microcontroller/Pin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/stm/common-hal/microcontroller/Pin.c b/ports/stm/common-hal/microcontroller/Pin.c index 610213497..e966f709f 100644 --- a/ports/stm/common-hal/microcontroller/Pin.c +++ b/ports/stm/common-hal/microcontroller/Pin.c @@ -46,8 +46,8 @@ bool neopixel_in_use; #define GPIO_PORT_COUNT 5 GPIO_TypeDef * ports[GPIO_PORT_COUNT] = {GPIOA, GPIOB, GPIOC, GPIOD, GPIOE}; #elif defined(LQFP64) - #define GPIO_PORT_COUNT 3 - GPIO_TypeDef * ports[GPIO_PORT_COUNT] = {GPIOA, GPIOB, GPIOC}; + #define GPIO_PORT_COUNT 4 + GPIO_TypeDef * ports[GPIO_PORT_COUNT] = {GPIOA, GPIOB, GPIOC, GPIOD}; #elif defined(UFQFPN48) #define GPIO_PORT_COUNT 3 GPIO_TypeDef * ports[GPIO_PORT_COUNT] = {GPIOA, GPIOB, GPIOC}; |
