Skip to content

Commit

Permalink
Merge pull request #407 from skliper/fix406-eot_pkt_size_bug
Browse files Browse the repository at this point in the history
Fix #406, Pass in correct CF_EotPacket_t size to msg
  • Loading branch information
dzbaker authored Sep 12, 2023
2 parents afbc225 + df8d23b commit 196574d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsw/src/cf_cfdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1712,7 +1712,7 @@ void CF_CFDP_SendEotPkt(CF_Transaction_t *t)

if (PktBuf != NULL)
{
CFE_MSG_Init(&PktBuf->eot.tlm_header.Msg, CFE_SB_ValueToMsgId(CF_EOT_TLM_MID), sizeof(*PktBuf));
CFE_MSG_Init(&PktBuf->eot.tlm_header.Msg, CFE_SB_ValueToMsgId(CF_EOT_TLM_MID), sizeof(PktBuf->eot));

PktBuf->eot.channel = t->chan_num;
PktBuf->eot.direction = t->history->dir;
Expand Down

0 comments on commit 196574d

Please sign in to comment.