Merge pull request #3045 from k0d/stm32_alignment_issue
Fixes issue with memory alignment in STM32
This commit is contained in:
commit
f67b307371
@ -52,7 +52,7 @@ bool neopixel_in_use;
|
||||
#define GPIO_PORT_COUNT (MP_ARRAY_SIZE(ports))
|
||||
|
||||
STATIC uint16_t claimed_pins[GPIO_PORT_COUNT];
|
||||
STATIC uint16_t never_reset_pins[GPIO_PORT_COUNT];
|
||||
STATIC uint16_t __ALIGNED(4) never_reset_pins[GPIO_PORT_COUNT];
|
||||
|
||||
void reset_all_pins(void) {
|
||||
// Reset claimed pins
|
||||
|
Loading…
Reference in New Issue
Block a user