-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #299, Clarify event text for commands that initiate actions #300
Conversation
eb01a59
to
0040fb3
Compare
++CF_AppData.hk.counters.cmd; | ||
} | ||
else | ||
{ | ||
CFE_EVS_SendEvent(CF_EID_ERR_CMD_TX_FILE, CFE_EVS_EventType_ERROR, "CF: file transfer failed"); | ||
CFE_EVS_SendEvent(CF_EID_ERR_CMD_TX_FILE, CFE_EVS_EventType_ERROR, "CF: file transfer initiation failed"); |
Check warning
Code scanning / CodeQL-coding-standard
Unchecked return value
@@ -512,7 +514,8 @@ | |||
{ | |||
if (CF_TsnChanAction((CF_TransactionCmd_t *)msg, "cancel", CF_CmdCancel_Txn, NULL) > 0) | |||
{ | |||
CFE_EVS_SendEvent(CF_EID_INF_CMD_CANCEL, CFE_EVS_EventType_INFORMATION, "CF: cancel successful"); | |||
CFE_EVS_SendEvent(CF_EID_INF_CMD_CANCEL, CFE_EVS_EventType_INFORMATION, |
Check warning
Code scanning / CodeQL-coding-standard
Unchecked return value
++CF_AppData.hk.counters.cmd; | ||
} | ||
else | ||
{ | ||
CFE_EVS_SendEvent(CF_EID_ERR_CMD_PLAYBACK_DIR, CFE_EVS_EventType_ERROR, "CF: directory playback cmd failed"); | ||
CFE_EVS_SendEvent(CF_EID_ERR_CMD_PLAYBACK_DIR, CFE_EVS_EventType_ERROR, |
Check warning
Code scanning / CodeQL-coding-standard
Unchecked return value
@@ -165,12 +165,13 @@ | |||
if (CF_CFDP_TxFile(tx->src_filename, tx->dst_filename, tx->cfdp_class, tx->keep, tx->chan_num, tx->priority, | |||
tx->dest_id) == CFE_SUCCESS) | |||
{ | |||
CFE_EVS_SendEvent(CF_EID_INF_CMD_TX_FILE, CFE_EVS_EventType_INFORMATION, "CF: file transfer successful"); | |||
CFE_EVS_SendEvent(CF_EID_INF_CMD_TX_FILE, CFE_EVS_EventType_INFORMATION, |
Check warning
Code scanning / CodeQL-coding-standard
Unchecked return value
Checklist (Please check before submitting)
Describe the contribution
Testing performed
CI
Expected behavior changes
None, text is just more clear
System(s) tested on
CI
Additional context
None
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC