Add authoritative MAVLink
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[submodule "lib/mavlink"]
|
||||
path = lib/mavlink
|
||||
url = https://github.com/mavlink/c_library_v2.git
|
||||
|
||||
+3
-1
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user