Skip to content

Conversation

@thnkslprpt
Copy link
Contributor

Checklist

Describe the contribution

Expected behavior changes

  • When an RTS command fails checksum validation:
    • If ContinueRtsOnFailureFlag is FALSE: The RTS is aborted (calls SC_KillRts) and event SC_RTS_CHKSUM_ERR_EID is sent
    • If ContinueRtsOnFailureFlag is TRUE: RTS continues with the next command (calls SC_GetNextRtsCommand), and event SC_RTS_CHKSUM_CONT_EID is sent
  • Default behavior is to continue RTS execution on checksum failure (set in the config via SC_CONT_ON_RTS_FAILURE_START) - same as the default for ATS

System(s) tested on
Debian 12 using the current main branch of cFS bundle.

Contributor Info
Avi Weiss   @thnkslprpt

/* Continue RTS if a command in the RTS fails */
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
void SC_ContinueRtsOnFailureCmd(const SC_ContinueRtsOnFailureCmd_t *Cmd)

Check notice

Code scanning / CodeQL

Long function without assertion Note

All functions of more than 10 lines should have at least one assertion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a ContinueRtsOnFailureFlag to SC

1 participant