Skip to content

Commit

Permalink
Merge pull request #284 from havencarlson/fix#283
Browse files Browse the repository at this point in the history
Fix #283, pass correct parameter in Abandon cmd function
  • Loading branch information
dzbaker authored Jul 20, 2022
2 parents 3593288 + c5b28e0 commit c06ae3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsw/src/cf_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ void CF_CmdAbandon_Txn(CF_Transaction_t *t, void *ignored)
*-----------------------------------------------------------------*/
void CF_CmdAbandon(CFE_SB_Buffer_t *msg)
{
if (CF_TsnChanAction((CF_TransactionCmd_t *)msg, "abandon", CF_CmdCancel_Txn, NULL) > 0)
if (CF_TsnChanAction((CF_TransactionCmd_t *)msg, "abandon", CF_CmdAbandon_Txn, NULL) > 0)
{
CFE_EVS_SendEvent(CF_EID_INF_CMD_ABANDON, CFE_EVS_EventType_INFORMATION, "CF: abandon successful");
CF_CmdAcc();
Expand Down

0 comments on commit c06ae3d

Please sign in to comment.