Add authoritative MAVLink

This commit is contained in:
Gus Grubba
2018-05-16 15:40:15 -04:00
parent 429c85f4a3
commit ef08a81f62
3 changed files with 8 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
[submodule "lib/mavlink"]
path = lib/mavlink
url = https://github.com/mavlink/c_library_v2.git
+3 -1
View File
@@ -41,7 +41,9 @@
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <WiFiUdp.h>
#include <mavlink.h>
#undef F
#include <ardupilotmega/mavlink.h>
extern "C" {
// Espressif SDK
+2 -1
View File
@@ -299,7 +299,8 @@ MavESP8266Component::_handleCmdLong(MavESP8266Bridge* sender, mavlink_command_lo
sender->_send_chan,
&msg,
cmd->command,
result
result,
0,0,0,0
);
sender->sendMessage(&msg);
}