AP_Scripting: correct compilation when AP_EFI_Scripting is not enabled

This commit is contained in:
Peter Barker 2023-03-11 13:24:14 +11:00 committed by Andrew Tridgell
parent 3eb9515aaf
commit 8e1decc730
1 changed files with 1 additions and 1 deletions

View File

@ -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)