delete mavlink v1.0 submodule

This commit is contained in:
Daniel Agar
2018-01-06 10:42:53 -05:00
parent 4b4b181e7c
commit bb35f75bbf
7 changed files with 6 additions and 21 deletions

4
.gitmodules vendored
View File

@@ -1,7 +1,3 @@
[submodule "mavlink/include/mavlink/v1.0"]
path = mavlink/include/mavlink/v1.0
url = https://github.com/mavlink/c_library_v1.git
branch = master
[submodule "mavlink/include/mavlink/v2.0"]
path = mavlink/include/mavlink/v2.0
url = https://github.com/mavlink/c_library_v2.git

View File

@@ -31,8 +31,6 @@
#
############################################################################
px4_add_git_submodule(TARGET git_mavlink_v1 PATH "${PX4_SOURCE_DIR}/mavlink/include/mavlink/v1.0")
px4_add_module(
MODULE drivers__pwm_out_rc_in
MAIN pwm_out_rc_in
@@ -43,7 +41,5 @@ px4_add_module(
SRCS
pwm_out_rc_in.cpp
DEPENDS
git_mavlink_v1
platforms__common
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :

View File

@@ -51,9 +51,9 @@
#include <systemlib/param/param.h>
#include <systemlib/pwm_limit/pwm_limit.h>
#include <dev_fs_lib_serial.h>
#include <v1.0/checksum.h>
#include <v1.0/mavlink_types.h>
#include <v1.0/common/mavlink.h>
#include <v2.0/checksum.h>
#include <v2.0/mavlink_types.h>
#include <v2.0/common/mavlink.h>
/*
* This driver is supposed to run on Snapdragon. It sends actuator_controls (PWM)

View File

@@ -31,8 +31,6 @@
#
############################################################################
px4_add_git_submodule(TARGET git_mavlink_v1 PATH "${PX4_SOURCE_DIR}/mavlink/include/mavlink/v1.0")
px4_add_module(
MODULE drivers__snapdragon_rc_pwm
MAIN snapdragon_rc_pwm
@@ -43,7 +41,5 @@ px4_add_module(
SRCS
snapdragon_rc_pwm.cpp
DEPENDS
git_mavlink_v1
platforms__common
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :

View File

@@ -53,8 +53,8 @@
#include <uORB/topics/input_rc.h>
#include <uORB/topics/actuator_controls.h>
#include <v1.0/mavlink_types.h>
#include <v1.0/common/mavlink.h>
#include <v2.0/mavlink_types.h>
#include <v2.0/common/mavlink.h>
#include "drivers/drv_pwm_output.h"
#include <drivers/drv_hrt.h>

View File

@@ -31,8 +31,6 @@
#
############################################################################
px4_add_git_submodule(TARGET git_mavlink_v1 PATH "${PX4_SOURCE_DIR}/mavlink/include/mavlink/v1.0")
option(ENABLE_UART_RC_INPUT "Enable RC Input from UART mavlink connection" OFF)
if(ENABLE_UART_RC_INPUT)
@@ -64,6 +62,6 @@ px4_add_module(
SRCS
${SIMULATOR_SRCS}
DEPENDS
git_mavlink_v1
git_mavlink_v2
platforms__common
)