@@ -70,7 +70,7 @@ void CfdpManager ::TODO_cmdHandler(FwOpcodeType opCode, U32 cmdSeq) {
7070// differences between F' and cFE
7171// ----------------------------------------------------------------------
7272
73- CfdpStatus::T CfdpManager ::cfdpGetPduBuffer (CF_Logical_PduBuffer_t* pduPtr, U8* msgPtr, U8 channelNum, FwSizeType size)
73+ CfdpStatus::T CfdpManager ::getPduBuffer (CF_Logical_PduBuffer_t* pduPtr, U8* msgPtr, U8 channelNum, FwSizeType size)
7474{
7575 // FwIndexType portNum;
7676
@@ -86,6 +86,9 @@ CfdpStatus::T CfdpManager ::cfdpGetPduBuffer(CF_Logical_PduBuffer_t* pduPtr, U8*
8686 FW_ASSERT (pduPtr == NULL );
8787 FW_ASSERT (msgPtr == NULL );
8888
89+ // TODO Add output throtteling and guards here
90+ // CF implemented this in CF_CFDP_MsgOutGet()
91+
8992 for (U32 i = 0 ; i < CFDP_MANAGER_NUM_BUFFERS; i++)
9093 {
9194 if (this ->pduBuffers [i].inUse == false )
@@ -109,7 +112,7 @@ CfdpStatus::T CfdpManager ::cfdpGetPduBuffer(CF_Logical_PduBuffer_t* pduPtr, U8*
109112
110113// TODO call this from reset
111114// Check for other escape routes
112- void CfdpManager ::cfdpReturnPduBuffer (U8 channelNum, CF_Logical_PduBuffer_t * pdu)
115+ void CfdpManager ::returnPduBuffer (U8 channelNum, CF_Logical_PduBuffer_t * pdu)
113116{
114117 // FwIndexType portNum;
115118
@@ -125,7 +128,7 @@ void CfdpManager ::cfdpReturnPduBuffer(U8 channelNum, CF_Logical_PduBuffer_t * p
125128 this ->returnBufferHelper (pdu);
126129}
127130
128- void CfdpManager ::cfdpSendPduBuffer (U8 channelNum, CF_Logical_PduBuffer_t * pdu, const U8* msgPtr)
131+ void CfdpManager ::sendPduBuffer (U8 channelNum, CF_Logical_PduBuffer_t * pdu, const U8* msgPtr)
129132{
130133 FwIndexType portNum;
131134 FwSizeType msgSize;
0 commit comments