Fixed dumb mistake
This commit is contained in:
@@ -1430,7 +1430,7 @@ static u16 rfu_STC_setSendData_org(u8 ni_or_uni, u8 bmSendSlot, u8 subFrameSize,
|
|||||||
else if (gRfuLinkStatus->parentChild == MODE_CHILD)
|
else if (gRfuLinkStatus->parentChild == MODE_CHILD)
|
||||||
llFrameSize_p = &gRfuLinkStatus->remainLLFrameSizeChild[bm_slot_id];
|
llFrameSize_p = &gRfuLinkStatus->remainLLFrameSizeChild[bm_slot_id];
|
||||||
frameSize = llsf_struct[gRfuLinkStatus->parentChild].frameSize;
|
frameSize = llsf_struct[gRfuLinkStatus->parentChild].frameSize;
|
||||||
#if UBFIX
|
#ifdef UBFIX
|
||||||
if (llFrameSize_p && (subFrameSize > *llFrameSize_p || subFrameSize <= frameSize))
|
if (llFrameSize_p && (subFrameSize > *llFrameSize_p || subFrameSize <= frameSize))
|
||||||
#else
|
#else
|
||||||
if (subFrameSize > *llFrameSize_p || subFrameSize <= frameSize)
|
if (subFrameSize > *llFrameSize_p || subFrameSize <= frameSize)
|
||||||
@@ -1472,7 +1472,7 @@ static u16 rfu_STC_setSendData_org(u8 ni_or_uni, u8 bmSendSlot, u8 subFrameSize,
|
|||||||
} while (0);
|
} while (0);
|
||||||
}
|
}
|
||||||
gRfuLinkStatus->sendSlotNIFlag |= bmSendSlot;
|
gRfuLinkStatus->sendSlotNIFlag |= bmSendSlot;
|
||||||
#if UBFIX
|
#ifdef UBFIX
|
||||||
if (llFrameSize_p)
|
if (llFrameSize_p)
|
||||||
#endif
|
#endif
|
||||||
*llFrameSize_p -= subFrameSize;
|
*llFrameSize_p -= subFrameSize;
|
||||||
@@ -1484,7 +1484,7 @@ static u16 rfu_STC_setSendData_org(u8 ni_or_uni, u8 bmSendSlot, u8 subFrameSize,
|
|||||||
slotStatus_UNI->send.bmSlot = bmSendSlot;
|
slotStatus_UNI->send.bmSlot = bmSendSlot;
|
||||||
slotStatus_UNI->send.src = src;
|
slotStatus_UNI->send.src = src;
|
||||||
slotStatus_UNI->send.payloadSize = subFrameSize - frameSize;
|
slotStatus_UNI->send.payloadSize = subFrameSize - frameSize;
|
||||||
#if UBFIX
|
#ifdef UBFIX
|
||||||
if (llFrameSize_p)
|
if (llFrameSize_p)
|
||||||
#endif
|
#endif
|
||||||
*llFrameSize_p -= subFrameSize;
|
*llFrameSize_p -= subFrameSize;
|
||||||
|
|||||||
Reference in New Issue
Block a user