Fix warning

This commit is contained in:
MysterD 2023-04-18 23:13:28 -07:00
parent 0f71de2332
commit bb924bd533

View file

@ -195,7 +195,7 @@ void packet_receive(struct Packet* p) {
np->rxSeqIds[np->onRxSeqId] = p->seqId; np->rxSeqIds[np->onRxSeqId] = p->seqId;
np->rxPacketHash[np->onRxSeqId] = packetHash; np->rxPacketHash[np->onRxSeqId] = packetHash;
np->onRxSeqId++; np->onRxSeqId++;
if (np->onRxSeqId >= MAX_RX_SEQ_IDS) { np->onRxSeqId = 0; } //if (np->onRxSeqId >= MAX_RX_SEQ_IDS) { np->onRxSeqId = 0; }
} }
// parse the packet without processing the rest // parse the packet without processing the rest