修正 Nack 回环检查
This commit is contained in:
parent
b9fad1e5f3
commit
1e4963b8fc
|
|
@ -79,7 +79,7 @@ void NackContext::received(uint16_t seq) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (diff > UINT32_MAX / 2) {
|
if (diff > UINT16_MAX / 2) {
|
||||||
//回环
|
//回环
|
||||||
_seq.clear();
|
_seq.clear();
|
||||||
_last_max_seq = min_seq;
|
_last_max_seq = min_seq;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue