mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Reorganised interfaces, putting them where they are used.
This commit is contained in:
parent
fe83d052da
commit
38e1ce04df
36 changed files with 103 additions and 83 deletions
|
@ -95,7 +95,7 @@ blackbox_encoding_unittest_SRC := \
|
|||
$(USER_DIR)/common/typeconversion.c
|
||||
|
||||
cli_unittest_SRC := \
|
||||
$(USER_DIR)/interface/cli.c \
|
||||
$(USER_DIR)/cli/cli.c \
|
||||
$(USER_DIR)/config/feature.c \
|
||||
$(USER_DIR)/pg/pg.c \
|
||||
$(USER_DIR)/common/typeconversion.c
|
||||
|
|
|
@ -27,10 +27,9 @@ extern "C" {
|
|||
#include "platform.h"
|
||||
#include "target.h"
|
||||
#include "build/version.h"
|
||||
#include "cli/cli.h"
|
||||
#include "cli/settings.h"
|
||||
#include "config/feature.h"
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
#include "drivers/buf_writer.h"
|
||||
#include "drivers/vtx_common.h"
|
||||
#include "fc/config.h"
|
||||
|
@ -39,16 +38,17 @@ extern "C" {
|
|||
#include "flight/mixer.h"
|
||||
#include "flight/pid.h"
|
||||
#include "flight/servos.h"
|
||||
#include "interface/cli.h"
|
||||
#include "interface/msp.h"
|
||||
#include "interface/msp_box.h"
|
||||
#include "interface/settings.h"
|
||||
#include "io/beeper.h"
|
||||
#include "io/ledstrip.h"
|
||||
#include "io/osd.h"
|
||||
#include "io/serial.h"
|
||||
#include "io/vtx.h"
|
||||
#include "msp/msp.h"
|
||||
#include "msp/msp_box.h"
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/beeper.h"
|
||||
#include "pg/rx.h"
|
||||
#include "rx/rx.h"
|
||||
#include "scheduler/scheduler.h"
|
||||
#include "sensors/battery.h"
|
||||
|
|
|
@ -47,11 +47,11 @@ extern "C" {
|
|||
#include "fc/config.h"
|
||||
#include "flight/imu.h"
|
||||
|
||||
#include "interface/msp.h"
|
||||
|
||||
#include "io/serial.h"
|
||||
#include "io/gps.h"
|
||||
|
||||
#include "msp/msp.h"
|
||||
|
||||
#include "rx/rx.h"
|
||||
#include "rx/crsf.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue