1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

Fix F4 ledstip

This commit is contained in:
Sami Korhonen 2016-08-11 08:25:42 +03:00
parent 7f8758ddd2
commit 00692145ef
3 changed files with 9 additions and 1 deletions

View file

@ -39,7 +39,11 @@
#include "drivers/dma.h"
#include "drivers/light_ws2811strip.h"
#if defined(STM32F4)
uint32_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
#else
uint8_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
#endif
volatile uint8_t ws2811LedDataTransferInProgress = 0;
static hsvColor_t ledColorBuffer[WS2811_LED_STRIP_LENGTH];