mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +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
|
@ -20,6 +20,8 @@
|
|||
|
||||
#include <platform.h>
|
||||
|
||||
#ifdef LED_STRIP
|
||||
|
||||
#include "io.h"
|
||||
#include "nvic.h"
|
||||
|
||||
|
@ -29,8 +31,6 @@
|
|||
#include "rcc.h"
|
||||
#include "timer.h"
|
||||
|
||||
#ifdef LED_STRIP
|
||||
|
||||
#ifndef WS2811_PIN
|
||||
#define WS2811_PIN PB8 // TIM16_CH1
|
||||
#define WS2811_TIMER TIM16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue