mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-13 12:42:20 +00:00
Garmin Fenix 5/6 new firmware uses enhanced speed and altitud fields
This maps them to correspoding standard fields Fixes #3161 and #3168
This commit is contained in:
@@ -379,6 +379,7 @@ struct FitFileReaderState
|
||||
case 3111: return "Garmin Fenix 5x +";
|
||||
case 3112: return "Garmin Edge 520 +";
|
||||
case 3113: return "Garmin FR945";
|
||||
case 3291: return "Garmin Fenix 6x";
|
||||
case 20119: return "Garmin Training Center";
|
||||
case 65532: return "Android ANT+ Plugin";
|
||||
case 65534: return "Garmin Connect Website";
|
||||
@@ -1619,6 +1620,7 @@ struct FitFileReaderState
|
||||
lngi = value;
|
||||
break;
|
||||
case 2: // ALTITUDE
|
||||
case 78:// ENHANCED ALTITUDE
|
||||
if (!native_profile && field.deve_idx>-1)
|
||||
alt = deve_value;
|
||||
else
|
||||
@@ -1638,6 +1640,7 @@ struct FitFileReaderState
|
||||
km = value / 100000.0;
|
||||
break;
|
||||
case 6: // SPEED
|
||||
case 73:// ENHANCED SPEED
|
||||
kph = value * 3.6 / 1000.0;
|
||||
break;
|
||||
case 7: // POWER
|
||||
|
||||
BIN
test/runs/2019-09-07-11-22-19.zip
Normal file
BIN
test/runs/2019-09-07-11-22-19.zip
Normal file
Binary file not shown.
BIN
test/runs/4077461142.zip
Normal file
BIN
test/runs/4077461142.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user