diff options
| author | Lucian Copeland <hierophect@gmail.com> | 2020-06-16 12:33:15 -0400 |
|---|---|---|
| committer | Lucian Copeland <hierophect@gmail.com> | 2020-06-16 12:33:15 -0400 |
| commit | fd4aafacbe9251177694598ea65f51f59af3f614 (patch) | |
| tree | f20ba09ac67aa7bd24aecaaeadd8d05ed4c98714 | |
| parent | b3b38c18c5d6c18777c42eeb160a088c44905168 (diff) | |
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}; |
