1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

various: tidy up various things found when building with a C++ compiler.

Remove duplicate consts.
Pull in the include files where functions and variables are declared.
Mark file local but duplicated variables as static.
Mark some variable declarations as extern.
Remove duplicated variable definition.

Signed-off-by: Michael Hope <mlhx@google.com>
This commit is contained in:
Michael Hope 2015-06-04 22:21:19 +02:00
parent 49e22265dc
commit 5c6760fd82
15 changed files with 27 additions and 23 deletions

View file

@ -60,6 +60,7 @@
#include "sensors/gyro.h"
#include "sensors/compass.h"
#include "sensors/sonar.h"
#include "sensors/initialisation.h"
#ifdef NAZE
#include "hardware_revision.h"