Skip to content

Commit

Permalink
Fix nasa#499, Clarify Get/SetMsgTime effect on cmd msg
Browse files Browse the repository at this point in the history
Partial fix (see also nasa#545), comments/documentation only
  • Loading branch information
skliper authored and lbleier-GSFC committed Apr 6, 2020
1 parent bff0cb3 commit a3f73b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fsw/cfe-core/src/inc/cfe_sb.h
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,8 @@ void CFE_SB_SetTotalMsgLength(CFE_SB_MsgPtr_t MsgPtr,uint16 TotalLength);
** - If the underlying implementation of software bus messages does not include
** a time field, then this routine will do nothing to the message contents
** and will return #CFE_SB_WRONG_MSG_TYPE.
** - Note default implementation of command messages do not have a time field
** and will trigger the #CFE_SB_WRONG_MSG_TYPE error
**
** \param[in] MsgPtr A pointer to the buffer that contains the software bus message.
** This must point to the first byte of the message header.
Expand Down Expand Up @@ -1103,6 +1105,7 @@ uint16 CFE_SB_GetCmdCode(CFE_SB_MsgPtr_t MsgPtr);
** \par Assumptions, External Events, and Notes:
** - If the underlying implementation of software bus messages does not
** include a time field, then this routine will return a zero time.
** - Note default implementation of command messages do not have a time field.
**
** \param[in] MsgPtr A pointer to the buffer that contains the software bus message.
** This must point to the first byte of the message header.
Expand Down

0 comments on commit a3f73b4

Please sign in to comment.