1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

The logging period is apparently an int, not a byte in GHP files

This commit is contained in:
Martin Tůma 2023-08-29 22:03:05 +02:00
parent 681f6c5b09
commit 6cba68f0d1

View File

@ -221,7 +221,7 @@ bool GHPParser::readF0(const char *chunk, const Header &hdr, int &time,
quint16 speed = u16(chunk + 10);
quint8 hr = chunk[12];
quint8 fia = chunk[13];
quint8 ms = chunk[16];
qint32 ms = s32(chunk + 16);
if (fia == 3) {
Trackpoint t(Coordinates(lon / 1000000.0, lat / 1000000.0));