From 8e1decc73003df9d08e604890abe04cc8cdee895 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 11 Mar 2023 13:24:14 +1100 Subject: [PATCH] AP_Scripting: correct compilation when AP_EFI_Scripting is not enabled --- libraries/AP_Scripting/generator/description/bindings.desc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Scripting/generator/description/bindings.desc b/libraries/AP_Scripting/generator/description/bindings.desc index 13a7c2f955..c2751a705b 100644 --- a/libraries/AP_Scripting/generator/description/bindings.desc +++ b/libraries/AP_Scripting/generator/description/bindings.desc @@ -614,7 +614,7 @@ singleton AP_Winch method get_rate_max float -- ----EFI Library---- include AP_EFI/AP_EFI.h depends HAL_EFI_ENABLED -include AP_EFI/AP_EFI_Scripting.h depends HAL_EFI_ENABLED +include AP_EFI/AP_EFI_Scripting.h depends AP_EFI_SCRIPTING_ENABLED include AP_EFI/AP_EFI_config.h userdata Cylinder_Status depends (AP_EFI_SCRIPTING_ENABLED == 1)