AP_Scripting: fix limits on Location alt field binding

This commit is contained in:
Randy Mackay 2020-02-25 20:43:17 +09:00 committed by WickedShell
parent e8699ab9fe
commit 989241a6bd
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ include AP_Common/Location.h
userdata Location field lat int32_t read write -900000000 900000000
userdata Location field lng int32_t read write -1800000000 1800000000
userdata Location field alt int32_t read write -INT32_MAX INT32_MAX
userdata Location field alt int32_t read write (-LOCATION_ALT_MAX_M*100+1) (LOCATION_ALT_MAX_M*100-1)
userdata Location field relative_alt boolean read write
userdata Location field terrain_alt boolean read write
userdata Location field origin_alt boolean read write