1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Moved function declarations out of main. Tidied drivers.

This commit is contained in:
Martin Budden 2016-08-02 15:11:35 +01:00
parent c50efe6352
commit 1c997abaaf
31 changed files with 112 additions and 96 deletions

View file

@ -20,6 +20,8 @@
#include "platform.h"
#ifdef LED_STRIP
#include "common/color.h"
#include "light_ws2811strip.h"
#include "nvic.h"
@ -29,8 +31,6 @@
#include "rcc.h"
#include "timer.h"
#ifdef LED_STRIP
#if !defined(WS2811_PIN)
#define WS2811_PIN PA0
#define WS2811_TIMER TIM5