Skip to content

Commit

Permalink
Merge pull request #1376 from jphickey/fix-1337-cds-clear-doc
Browse files Browse the repository at this point in the history
Fix #1337, add docs to CFE_ES_RegisterCDS() regarding clearing
  • Loading branch information
astrogeco committed Apr 22, 2021
2 parents 9178dfe + bb2372f commit 3f9f7f5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/core_api/fsw/inc/cfe_es.h
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,13 @@ void CFE_ES_ProcessAsyncEvent(void);
** the calling Application. The memory can survive an Application restart as well as a Processor Reset.
**
** \par Assumptions, External Events, and Notes:
** None
** This function does _not_ clear or otherwise initialize/modify the data within the CDS block.
** If this function returns #CFE_ES_CDS_ALREADY_EXISTS the block may already have valid data in it.
**
** If a new CDS block is reserved (either because the name did not exist, or existed as a different
** size) it is the responsibility of the calling application to fill the CDS block with valid data.
** This is indicated by a #CFE_SUCCESS return code, and in this case the calling application should
** ensure that it also calls CFE_ES_CopyToCDS() to fill the block with valid data.
**
** \param[in, out] HandlePtr Pointer Application's variable that will contain the CDS Memory Block Handle.
** HandlePtr is the handle of the CDS block that can be used in
Expand Down

0 comments on commit 3f9f7f5

Please sign in to comment.