修正 Nack 回环检查

This commit is contained in:
wxf 2021-07-02 15:56:35 +08:00
parent b9fad1e5f3
commit 1e4963b8fc

View File

@ -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;