From 7a80c2778bde576b656e8ac6efe6a9d1a8a8b0bf Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 20 Jul 2022 15:58:29 +1000 Subject: [PATCH] AP_Scripting: add and use AP_RPM_ENABLED --- libraries/AP_Scripting/generator/description/bindings.desc | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Scripting/generator/description/bindings.desc b/libraries/AP_Scripting/generator/description/bindings.desc index b6cefb3d26..b879586d9d 100644 --- a/libraries/AP_Scripting/generator/description/bindings.desc +++ b/libraries/AP_Scripting/generator/description/bindings.desc @@ -369,6 +369,7 @@ userdata mavlink_mission_item_int_t field current uint8_t read write 0 UINT8_MA include AP_RPM/AP_RPM.h singleton AP_RPM rename RPM +singleton AP_RPM depends AP_RPM_ENABLED singleton AP_RPM method get_rpm boolean uint8_t 0 RPM_MAX_INSTANCES float'Null include AP_Button/AP_Button.h