Merge pull request #4562 from martinbudden/bfa_fc_msp_rename

Renamed fc_msp* files to msp*
This commit is contained in:
Martin Budden 2017-11-13 06:57:28 +00:00 committed by GitHub
commit 4819e7b8fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 27 additions and 49 deletions

View File

@ -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 \

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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);

View File

@ -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"

View File

@ -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);

View File

@ -32,7 +32,7 @@
#include "flight/mixer.h"
#include "interface/fc_msp_box.h"
#include "interface/msp_box.h"
#include "sensors/sensors.h"

View File

@ -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"

View File

@ -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];

View File

@ -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

View File

@ -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"

View File

@ -10,7 +10,7 @@
#include "common/utils.h"
#include "interface/fc_msp.h"
#include "interface/msp.h"
#include "rx/crsf.h"

View File

@ -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"

View File

@ -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"

View File

@ -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"