omit deprecated functions.

This commit is contained in:
Gatsby Van
2023-12-20 19:55:55 +08:00
parent 3a78c3d2f2
commit c148795f1c
@@ -521,25 +521,6 @@ inline void L2_RcdShift(L2_RCD* rcd, int32_t netxVal) {
rcd->next = netxVal; rcd->next = netxVal;
} }
/*****************************************************************************/
/**
* @brief Get the valid frame data type received in last slot.
*
* @param NONE.
*
* @return NONE.
*
******************************************************************************/
L2_FRAME_TYPE L2_GetLastRcvFrameType(L2_INST* instPtr) {
if (instPtr->dataAvail == false) {
return L2_NONE_FRAME;
}
else {
return instPtr->frame.last;
}
}
/*****************************************************************************/ /*****************************************************************************/
/** /**
* @brief Update L2 frame state, check if there is any valid L2 frame data in * @brief Update L2 frame state, check if there is any valid L2 frame data in