diff --git a/libraries/AP_Scripting/generator/description/bindings.desc b/libraries/AP_Scripting/generator/description/bindings.desc index d40567b4b9..8263496fc0 100644 --- a/libraries/AP_Scripting/generator/description/bindings.desc +++ b/libraries/AP_Scripting/generator/description/bindings.desc @@ -131,6 +131,7 @@ singleton AP_Notify method handle_rgb void uint8_t 0 UINT8_MAX uint8_t 0 UINT8_M include AP_Proximity/AP_Proximity.h +singleton AP_Proximity depends HAL_PROXIMITY_ENABLED == 1 singleton AP_Proximity alias proximity singleton AP_Proximity method get_status uint8_t singleton AP_Proximity method num_sensors uint8_t