forked from gatsby/datalink_repo
omit deprecated functions.
This commit is contained in:
@@ -521,25 +521,6 @@ inline void L2_RcdShift(L2_RCD* rcd, int32_t 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
|
||||
|
||||
Reference in New Issue
Block a user