mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 07:45:29 +03:00
Moved function declarations out of main. Tidied drivers.
This commit is contained in:
parent
c50efe6352
commit
1c997abaaf
31 changed files with 112 additions and 96 deletions
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include <platform.h>
|
||||
|
||||
#ifdef LED_STRIP
|
||||
|
||||
#include "build_config.h"
|
||||
|
||||
#include "common/color.h"
|
||||
|
@ -37,8 +39,6 @@
|
|||
#include "drivers/dma.h"
|
||||
#include "drivers/light_ws2811strip.h"
|
||||
|
||||
#ifdef LED_STRIP
|
||||
|
||||
uint8_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
|
||||
volatile uint8_t ws2811LedDataTransferInProgress = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue