mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
AP_Scripting: add MAVLink command long and ack examples
This commit is contained in:
1 parent
352f721626
commit
ceca374f23
5 files changed
+188
-1
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user