From 9be19b0bfa18e5d4f4729be9e5d596e1a53426fa Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Tue, 3 Nov 2020 18:38:16 +0000 Subject: [PATCH] AP_Scripting: add plane spesific quadplane in_vtol_mode binding --- libraries/AP_Scripting/generator/description/bindings.desc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/AP_Scripting/generator/description/bindings.desc b/libraries/AP_Scripting/generator/description/bindings.desc index 91dd961a5d..c737bd47cb 100644 --- a/libraries/AP_Scripting/generator/description/bindings.desc +++ b/libraries/AP_Scripting/generator/description/bindings.desc @@ -298,3 +298,8 @@ singleton AP_Button method get_button_state boolean uint8_t 1 AP_BUTTON_NUM_PINS include AP_Notify/ScriptingLED.h singleton ScriptingLED alias LED singleton ScriptingLED method get_rgb void uint8_t'Ref uint8_t'Ref uint8_t'Ref + +include ../ArduPlane/quadplane.h depends APM_BUILD_TYPE(APM_BUILD_ArduPlane) +singleton QuadPlane alias quadplane +singleton QuadPlane depends APM_BUILD_TYPE(APM_BUILD_ArduPlane) +singleton QuadPlane method in_vtol_mode boolean