AP_Scripting: add MAVLink command long and ack examples

This commit is contained in:
Iampete1 authored and Andrew Tridgell committed 2023-07-04 10:20:42 +10:00
1 parent 352f721626
commit ceca374f23
5 files changed
+188 -1

No files matched your search

+1 -1
View File
@@ -183,7 +183,7 @@ int lua_mavlink_send_chan(lua_State *L) {
int lua_mavlink_block_command(lua_State *L) {
// Allow : and . access
const int arg_offset = (luaL_testudata(L, 1, "mavlnk") != NULL) ? 1 : 0;
const int arg_offset = (luaL_testudata(L, 1, "mavlink") != NULL) ? 1 : 0;
binding_argcheck(L, 1+arg_offset);