bugfix: correct return condition.

This commit is contained in:
Gatsby Van
2023-12-25 17:21:05 +08:00
parent 222e262194
commit ae9c0d5243
+1 -1
View File
@@ -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;
}