mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +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
|
@ -315,7 +315,7 @@ typedef struct box_e {
|
|||
} box_t;
|
||||
|
||||
// FIXME remove ;'s
|
||||
static const box_t const boxes[CHECKBOX_ITEM_COUNT + 1] = {
|
||||
static const box_t boxes[CHECKBOX_ITEM_COUNT + 1] = {
|
||||
{ BOXARM, "ARM;", 0 },
|
||||
{ BOXANGLE, "ANGLE;", 1 },
|
||||
{ BOXHORIZON, "HORIZON;", 2 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue