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:
parent
49e22265dc
commit
5c6760fd82
15 changed files with 27 additions and 23 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue