Renamed fc_msp* files to msp*
This commit is contained in:
parent
f5e25eb9b4
commit
8044d08fb3
|
@ -53,8 +53,8 @@ COMMON_SRC = \
|
|||
fc/fc_hardfaults.c \
|
||||
fc/fc_tasks.c \
|
||||
fc/runtime_config.c \
|
||||
interface/fc_msp.c \
|
||||
interface/fc_msp_box.c \
|
||||
interface/msp.c \
|
||||
interface/msp_box.c \
|
||||
io/beeper.c \
|
||||
io/serial.c \
|
||||
io/statusindicator.c \
|
||||
|
|
|
@ -76,8 +76,8 @@
|
|||
#include "fc/rc_controls.h"
|
||||
#include "fc/runtime_config.h"
|
||||
|
||||
#include "interface/fc_msp.h"
|
||||
#include "interface/cli.h"
|
||||
#include "interface/msp.h"
|
||||
|
||||
#include "msp/msp_serial.h"
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#include "flight/pid.h"
|
||||
|
||||
#include "interface/cli.h"
|
||||
#include "interface/fc_msp.h"
|
||||
#include "interface/msp.h"
|
||||
|
||||
#include "io/beeper.h"
|
||||
#include "io/dashboard.h"
|
||||
|
|
|
@ -99,8 +99,8 @@ extern uint8_t __config_end;
|
|||
#include "flight/servos.h"
|
||||
|
||||
#include "interface/cli.h"
|
||||
#include "interface/fc_msp.h"
|
||||
#include "interface/fc_msp_box.h"
|
||||
#include "interface/msp.h"
|
||||
#include "interface/msp_box.h"
|
||||
#include "interface/msp_protocol.h"
|
||||
#include "interface/settings.h"
|
||||
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
/*
|
||||
* This file is part of Cleanflight.
|
||||
*
|
||||
* Cleanflight is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Cleanflight is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "msp/msp.h"
|
||||
|
||||
void mspInit(void);
|
||||
mspResult_e mspFcProcessCommand(mspPacket_t *cmd, mspPacket_t *reply, mspPostProcessFnPtr *mspPostProcessFn);
|
||||
void mspFcProcessReply(mspPacket_t *reply);
|
||||
|
||||
void mspSerialProcessStreamSchedule(void);
|
|
@ -74,8 +74,8 @@
|
|||
#include "flight/pid.h"
|
||||
#include "flight/servos.h"
|
||||
|
||||
#include "interface/fc_msp.h"
|
||||
#include "interface/fc_msp_box.h"
|
||||
#include "interface/msp.h"
|
||||
#include "interface/msp_box.h"
|
||||
#include "interface/msp_protocol.h"
|
||||
|
||||
#include "io/asyncfatfs/asyncfatfs.h"
|
||||
|
@ -95,11 +95,10 @@
|
|||
#include "io/vtx.h"
|
||||
#include "io/vtx_string.h"
|
||||
|
||||
#include "msp/msp.h"
|
||||
#include "msp/msp_serial.h"
|
||||
|
||||
#include "rx/msp.h"
|
||||
#include "rx/rx.h"
|
||||
#include "rx/msp.h"
|
||||
|
||||
#include "scheduler/scheduler.h"
|
||||
|
|
@ -43,3 +43,8 @@ struct serialPort_s;
|
|||
typedef void (*mspPostProcessFnPtr)(struct serialPort_s *port); // msp post process function, used for gracefully handling reboots, etc.
|
||||
typedef mspResult_e (*mspProcessCommandFnPtr)(mspPacket_t *cmd, mspPacket_t *reply, mspPostProcessFnPtr *mspPostProcessFn);
|
||||
typedef void (*mspProcessReplyFnPtr)(mspPacket_t *cmd);
|
||||
|
||||
|
||||
void mspInit(void);
|
||||
mspResult_e mspFcProcessCommand(mspPacket_t *cmd, mspPacket_t *reply, mspPostProcessFnPtr *mspPostProcessFn);
|
||||
void mspFcProcessReply(mspPacket_t *reply);
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "flight/mixer.h"
|
||||
|
||||
#include "interface/fc_msp_box.h"
|
||||
#include "interface/msp_box.h"
|
||||
|
||||
#include "sensors/sensors.h"
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include "drivers/display.h"
|
||||
|
||||
#include "interface/fc_msp.h"
|
||||
#include "interface/msp.h"
|
||||
#include "interface/msp_protocol.h"
|
||||
|
||||
#include "io/displayport_msp.h"
|
||||
|
|
|
@ -21,13 +21,15 @@
|
|||
|
||||
#include "platform.h"
|
||||
|
||||
#include "build/debug.h"
|
||||
|
||||
#include "common/streambuf.h"
|
||||
#include "common/utils.h"
|
||||
#include "build/debug.h"
|
||||
|
||||
#include "interface/msp.h"
|
||||
|
||||
#include "io/serial.h"
|
||||
|
||||
#include "msp/msp.h"
|
||||
#include "msp/msp_serial.h"
|
||||
|
||||
static mspPort_t mspPorts[MAX_MSP_PORT_COUNT];
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "msp/msp.h"
|
||||
#include "interface/msp.h"
|
||||
|
||||
// Each MSP port requires state and a receive buffer, revisit this default if someone needs more than 3 MSP ports.
|
||||
#define MAX_MSP_PORT_COUNT 3
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
#include "fc/runtime_config.h"
|
||||
|
||||
#include "interface/cli.h"
|
||||
#include "interface/fc_msp.h"
|
||||
#include "interface/msp.h"
|
||||
|
||||
#include "msp/msp_serial.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include "common/utils.h"
|
||||
|
||||
#include "interface/fc_msp.h"
|
||||
#include "interface/msp.h"
|
||||
|
||||
#include "rx/crsf.h"
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include "flight/pid.h"
|
||||
#include "flight/navigation.h"
|
||||
|
||||
#include "interface/fc_msp.h"
|
||||
#include "interface/msp.h"
|
||||
|
||||
#include "io/beeper.h"
|
||||
#include "io/motors.h"
|
||||
|
|
|
@ -39,8 +39,8 @@ extern "C" {
|
|||
#include "flight/pid.h"
|
||||
#include "flight/servos.h"
|
||||
#include "interface/cli.h"
|
||||
#include "interface/fc_msp.h"
|
||||
#include "interface/fc_msp_box.h"
|
||||
#include "interface/msp.h"
|
||||
#include "interface/msp_box.h"
|
||||
#include "interface/settings.h"
|
||||
#include "io/beeper.h"
|
||||
#include "io/ledstrip.h"
|
||||
|
|
|
@ -46,13 +46,11 @@ extern "C" {
|
|||
#include "fc/config.h"
|
||||
#include "flight/imu.h"
|
||||
|
||||
#include "interface/fc_msp.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…
Reference in New Issue