1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00

OP-52 Ground / GPS Gadget: sorry, missed the 1E-7...

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1535 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
edouard 2010-09-05 07:05:17 +00:00 committed by edouard
parent 1f78c63648
commit d689c2cf23

View File

@ -110,8 +110,8 @@ void GpsDisplayWidget::setDOP(double hdop, double vdop, double pdop)
void GpsDisplayWidget::setPosition(double lat, double lon, double alt)
{
lat *= 1E-7;
lon *= 1E-7;
//lat *= 1E-7;
//lon *= 1E-7;
double deg = (lat>0) ? floor(lat):ceil(lat);
double min = fabs(lat-deg)*60;
QString str1;