Skip to content

Commit

Permalink
FT0: hotfix for postproc (#2427)
Browse files Browse the repository at this point in the history
  • Loading branch information
afurs authored Sep 23, 2024
1 parent 803b087 commit 255f9d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Modules/FIT/Common/include/FITCommon/PostProcHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,12 @@ class PostProcHelper
mIsNonEmptySample = false;
}
// Getting timestamp
mTimestampAnchor = -1;
if (mTimestampSource == "trigger") {
mTimestampAnchor = mCurrTrigger.timestamp;
} else if (mTimestampSource == "validUntil") {
mTimestampAnchor = mCurrTrigger.activity.mValidity.getMax();
} else if (mTimestampSource == "metadata") {
} else if (moMetadata && mTimestampSource == "metadata") {
const auto iterMetadata = moMetadata->getMetadataMap().find(mTimestampMetaField);
const bool isFound = iterMetadata != moMetadata->getMetadataMap().end();
if (isFound) {
Expand Down

0 comments on commit 255f9d3

Please sign in to comment.