forked from gatsby/datalink_repo
bugfix: correct return condition.
This commit is contained in:
@@ -60,7 +60,7 @@ static void RTT_GetFrameStart(L2_INST* instPtr, TIME_WORD *tmStamp, L2_TOR_TYPE
|
||||
int32_t L2_TimeAlign(L2_INST* instPtr, uint32_t frameNum, uint32_t slotNum){
|
||||
L1_FRAME_TYPE lastRecvdFrame;
|
||||
lastRecvdFrame = Phy_GetLastRecvFrameType(instPtr->config.phyInstPtr);
|
||||
if(lastRecvdFrame != L1_NONE_FRAME){
|
||||
if(lastRecvdFrame == L1_NONE_FRAME){
|
||||
return EIGNORE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user