Skip to content

Commit 60cb9e2

Browse files
committed
AP_Scripting: don't provide handle_external_position_estimate if not AP_AHRS_EXTERNAL_ENABLED
1 parent 8c1da9a commit 60cb9e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/AP_Scripting/generator/description/bindings.desc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ singleton AP_AHRS method initialised boolean
6262
singleton AP_AHRS method get_posvelyaw_source_set uint8_t
6363
singleton AP_AHRS method get_quaternion boolean Quaternion'Null
6464
singleton AP_AHRS method handle_external_position_estimate boolean Location float'skip_check uint32_t'skip_check
65+
singleton AP_AHRS method handle_external_position_estimate depends AP_AHRS_EXTERNAL_ENABLED
6566

6667
include AP_Arming/AP_Arming.h
6768

0 commit comments

Comments
 (0)