Skip to content

Commit

Permalink
Merge pull request #1999 from zachar1a/fix-#1928_checking_against_IsN…
Browse files Browse the repository at this point in the history
…ewOffset_only

Fix #1928, checking against IsNewOffset only #1999
  • Loading branch information
astrogeco committed Nov 17, 2021
2 parents 3535ddb + 612a3d8 commit 60dbe34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/es/fsw/src/cfe_es_cds.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ int32 CFE_ES_RegisterCDSEx(CFE_ES_CDSHandle_t *HandlePtr, size_t UserBlockSize,
CFE_ES_CDSBlockRecordSetUsed(RegRecPtr, PendingBlockId);
}

if (Status == CFE_SUCCESS && (IsNewOffset || IsNewEntry))
if (Status == CFE_SUCCESS && IsNewOffset)
{
/* If we succeeded at creating a CDS, save updated registry in the CDS */
RegUpdateStatus = CFE_ES_UpdateCDSRegistry();
Expand Down

0 comments on commit 60dbe34

Please sign in to comment.