1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-03-17 12:07:47 +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

View File

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