mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-14 08:55:59 +08:00
AP_Scripting: log disarm method
This commit is contained in:
committed by
Andrew Tridgell
parent
7b9cdd6d06
commit
1e82ae4676
@@ -1743,7 +1743,7 @@ static int AP_Arming_disarm(lua_State *L) {
|
||||
}
|
||||
|
||||
binding_argcheck(L, 1);
|
||||
const bool data = ud->disarm();
|
||||
const bool data = ud->disarm( AP_Arming::Method::SCRIPTING);
|
||||
|
||||
lua_pushboolean(L, data);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user