1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-31 09:05:14 +01:00

Added support for enchanced altitude and speed entries

This commit is contained in:
Martin Tůma 2019-09-29 11:24:20 +02:00
parent c4fd82e5a0
commit e28e69b248

View File

@ -265,6 +265,14 @@ bool FITParser::parseData(CTX &ctx, const MessageDefinition *def)
if (val != 0x7f)
ctx.trackpoint.setTemperature((qint8)val);
break;
case 73:
if (val != 0xffffffff)
ctx.trackpoint.setSpeed(val / 1000.0f);
break;
case 78:
if (val != 0xffffffff)
ctx.trackpoint.setElevation((val / 5.0) - 500);
break;
default:
break;