1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-03-18 04:27:45 +01:00

Fixed speed values conversion

This commit is contained in:
Martin Tůma 2025-03-16 22:33:26 +01:00
parent 9d3cdbbd42
commit 2e4e702640

@ -140,7 +140,7 @@ static bool trackpoint(CTX &ctx, Trackpoint &t)
t.setTimestamp(QDateTime::fromMSecsSinceEpoch( t.setTimestamp(QDateTime::fromMSecsSinceEpoch(
((qint64)seconds * 1000) + ((qint64)centiSeconds * 10), ((qint64)seconds * 1000) + ((qint64)centiSeconds * 10),
QTimeZone::utc())); QTimeZone::utc()));
t.setSpeed(speed / 5.1444); t.setSpeed(speed * 0.051444);
return (ctx.bp == ee); return (ctx.bp == ee);
} }