Decode Stress extra field from FIT files

Fixes #4153
This commit is contained in:
Alejandro Martinez
2022-02-01 20:35:10 -03:00
parent 32b1f0f7d1
commit 2f1194b0bd

View File

@@ -775,6 +775,9 @@ struct FitFileReaderState
case 115: // MTB Dynamics - Flow
return "FLOW";
case 116: // Stress
return "STRESS";
default:
return QString("FIELD_%1").arg(native_num);
}
@@ -798,6 +801,7 @@ struct FitFileReaderState
return 2.0;
case 108: // RESPIRATIONRATE
case 116: // Stress
return 100.0;
default:
@@ -2056,6 +2060,9 @@ struct FitFileReaderState
case 115: // MTB Dynamics - Flow
native_num = -1;
break;
case 116: // Stress
native_num = -1;
break;
default:
unknown_record_fields.insert(native_num);
native_num = -1;