1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Fixed copy-pasta error.

This commit is contained in:
Laura Sebesta 2012-09-27 18:06:48 +02:00
parent 9ec05d8928
commit 09b8980881

View File

@ -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