From 82628c25592bafde4fb228029f141e32a43679b9 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Fri, 22 Sep 2023 02:22:32 +0100 Subject: [PATCH] AP_Scripting: bindings: allow GCS without high latency --- libraries/AP_Scripting/generator/description/bindings.desc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/AP_Scripting/generator/description/bindings.desc b/libraries/AP_Scripting/generator/description/bindings.desc index f3bf4d4021..9a185db1b5 100644 --- a/libraries/AP_Scripting/generator/description/bindings.desc +++ b/libraries/AP_Scripting/generator/description/bindings.desc @@ -238,9 +238,11 @@ singleton GCS method send_named_float void string float'skip_check singleton GCS method frame_type MAV_TYPE'enum singleton GCS method get_hud_throttle int16_t -singleton GCS depends HAL_HIGH_LATENCY2_ENABLED == 1 singleton GCS method get_high_latency_status boolean +singleton GCS method get_high_latency_status depends HAL_HIGH_LATENCY2_ENABLED == 1 + singleton GCS method enable_high_latency_connections void boolean +singleton GCS method enable_high_latency_connections depends HAL_HIGH_LATENCY2_ENABLED == 1 include AP_ONVIF/AP_ONVIF.h depends ENABLE_ONVIF == 1 singleton AP_ONVIF depends ENABLE_ONVIF == 1