Fit: Add FIELD_87 for record (cycle_length16)

fix #4489
This commit is contained in:
grauser
2024-05-23 22:47:47 +02:00
parent c088aafb5c
commit e41e6b6e88

View File

@@ -1465,6 +1465,9 @@ struct FitFileParser
case 85: // STEP_LENGTH
return "STEPLENGTH"; // Step Length
case 87: // CYCLE_LENGTH
return "CYCLELENGTH"; // Cycle Length (Rowing, paddle)
case 90: // PERFORMANCE_CONDITION
return "PERFORMANCECONDITION"; // Performance Contition
@@ -1520,6 +1523,9 @@ struct FitFileParser
case 85: // STEP_LENGTH
return 10.0;
case 87: // CYCLE_LENGTH
return 100.0;
case 47: // COMBINED_PEDAL_SMOOTHNES
case 81: // BATTERY_SOC
return 2.0;
@@ -2958,7 +2964,8 @@ genericnext:
case 85: // STEP_LENGTH
native_num = -1;
break;
case 87: // ???
case 87: // Cycle length (16)
native_num = -1;
break;
case 90: // PERFORMANCE_CONDITION
native_num = -1;