mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
Fixed copy-pasta error.
This commit is contained in:
parent
9ec05d8928
commit
09b8980881
@ -349,8 +349,8 @@ int UAVObjectUtilManager::getHomeLocation(bool &set, double LLA[3])
|
||||
|
||||
set = homeLocationData.Set;
|
||||
|
||||
LLA[0] = homeLocationData.Latitude;
|
||||
LLA[1] = homeLocationData.Longitude;
|
||||
LLA[0] = homeLocationData.Latitude*1e-7;
|
||||
LLA[1] = homeLocationData.Longitude*1e-7;
|
||||
LLA[2] = homeLocationData.Altitude;
|
||||
|
||||
if (LLA[0] != LLA[0]) LLA[0] = 0; // nan detection
|
||||
|
Loading…
Reference in New Issue
Block a user