summaryrefslogtreecommitdiff
path: root/ports/stm
diff options
context:
space:
mode:
authorLucian Copeland <hierophect@gmail.com>2020-06-16 12:33:15 -0400
committerLucian Copeland <hierophect@gmail.com>2020-06-16 12:33:15 -0400
commitfd4aafacbe9251177694598ea65f51f59af3f614 (patch)
treef20ba09ac67aa7bd24aecaaeadd8d05ed4c98714 /ports/stm
parentb3b38c18c5d6c18777c42eeb160a088c44905168 (diff)
Add port D to LQFP64
Diffstat (limited to 'ports/stm')
-rw-r--r--ports/stm/common-hal/microcontroller/Pin.c4
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};