Mavlink compilation failure

This commit is contained in:
bsongis
2015-07-09 22:22:28 +02:00
parent ef21053b3d
commit a738f674cc
5 changed files with 5 additions and 4 deletions
+1
View File
@@ -1235,6 +1235,7 @@ endif
ifeq ($(EXT), MAVLINK) ifeq ($(EXT), MAVLINK)
CPPDEFS += -DMAVLINK CPPDEFS += -DMAVLINK
INCDIRS += thirdparty
CPPSRC += telemetry/mavlink.cpp gui/$(GUIDIRECTORY)/view_mavlink.cpp serial.cpp CPPSRC += telemetry/mavlink.cpp gui/$(GUIDIRECTORY)/view_mavlink.cpp serial.cpp
EEPROM_VARIANT += ${MAVLINK_VARIANT} EEPROM_VARIANT += ${MAVLINK_VARIANT}
endif endif
+1 -1
View File
@@ -36,7 +36,7 @@
#include "../../opentx.h" #include "../../opentx.h"
#if defined(MAVLINK) #if defined(MAVLINK)
#include "view_mavlink.h" #include "gui/9X/view_mavlink.h"
#endif #endif
// TODO elsewhere! // TODO elsewhere!
+1 -1
View File
@@ -41,7 +41,7 @@
* Contains the menu specific code for Mavlink support. * Contains the menu specific code for Mavlink support.
*/ */
#include "view_mavlink.h" #include "gui/9X/view_mavlink.h"
// Globals declaration // Globals declaration
+1 -1
View File
@@ -45,7 +45,7 @@
#include "opentx.h" #include "opentx.h"
#include "telemetry/mavlink.h" #include "telemetry/mavlink.h"
#include "gui/menus.h" #include "gui/9X/menus.h"
#include "serial.h" #include "serial.h"
#define APSIZE (BSS | DBLSIZE) #define APSIZE (BSS | DBLSIZE)
+1 -1
View File
@@ -62,7 +62,7 @@ extern void SERIAL_send_uart_bytes(const uint8_t * buf, uint16_t len);
#define MAVLINK_END_UART_SEND(chan,len) SERIAL_end_uart_send() #define MAVLINK_END_UART_SEND(chan,len) SERIAL_end_uart_send()
#define MAVLINK_SEND_UART_BYTES(chan,buf,len) SERIAL_send_uart_bytes(buf,len) #define MAVLINK_SEND_UART_BYTES(chan,buf,len) SERIAL_send_uart_bytes(buf,len)
#include "../GCS_MAVLink/include_v1.0/ardupilotmega/mavlink.h" #include "GCS_MAVLink/include_v1.0/ardupilotmega/mavlink.h"
//#define MAVLINK_PARAMS //#define MAVLINK_PARAMS
//#define DUMP_RX_TX //#define DUMP_RX_TX