Skip to content

Commit

Permalink
Merge pull request nasa#1376 from jphickey/fix-1337-cds-clear-doc
Browse files Browse the repository at this point in the history
Fix nasa#1337, add docs to CFE_ES_RegisterCDS() regarding clearing
  • Loading branch information
astrogeco authored and zanzaben committed Apr 22, 2021
2 parents bf41c97 + 66c5672 commit 9e52770
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 9e52770

Please sign in to comment.