1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 03:20:00 +03:00

fix: led strip not working (#14279) (#14286)

* fix: led strip not working (#14279)

* fix: led strip not working reworked (#14279)

* Revert src/platform/STM32/target/STM32F745/target.h

* Revert src/platform/STM32/target/STM32F7X2/target.h

* Fix per review ledvinap

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
This commit is contained in:
fluke9 2025-03-13 19:30:14 +01:00 committed by GitHub
parent 225bb21e9c
commit f540409768
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,7 +60,7 @@
#define WS2811_DMA_BUF_CACHE_ALIGN_LENGTH (WS2811_DMA_BUF_CACHE_ALIGN_BYTES / sizeof(uint32_t))
DMA_RW_AXI __attribute__((aligned(32))) uint32_t ledStripDMABuffer[WS2811_DMA_BUF_CACHE_ALIGN_LENGTH];
#else
FAST_DATA_ZERO_INIT uint32_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
DMA_DATA_ZERO_INIT uint32_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
#endif
static ioTag_t ledStripIoTag;