mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 03:20:00 +03:00
* 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:
parent
225bb21e9c
commit
f540409768
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
||||||
#define WS2811_DMA_BUF_CACHE_ALIGN_LENGTH (WS2811_DMA_BUF_CACHE_ALIGN_BYTES / sizeof(uint32_t))
|
#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];
|
DMA_RW_AXI __attribute__((aligned(32))) uint32_t ledStripDMABuffer[WS2811_DMA_BUF_CACHE_ALIGN_LENGTH];
|
||||||
#else
|
#else
|
||||||
FAST_DATA_ZERO_INIT uint32_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
|
DMA_DATA_ZERO_INIT uint32_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static ioTag_t ledStripIoTag;
|
static ioTag_t ledStripIoTag;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue