nfqws2: small AI fixes

This commit is contained in:
bol-van committed 2026-07-16 18:33:23 +03:00
1 parent 8d34a4b7a2
commit 8a0f53f3cf
3 files changed
+46 -30

No files matched your search

+1 -1
View File
@@ -1643,7 +1643,7 @@ static bool windivert_recv_filter(HANDLE hFilter, uint8_t *packet, size_t *len,
if (params.timers)
{
if (!*bt_next) *bt_next = TimerPoolNext(params.timers, &params.timers_dirty);
if (!*bt_next || params.timers_dirty) *bt_next = TimerPoolNext(params.timers, &params.timers_dirty);
bt = boottime_ms();
tmax = *bt_next>bt ? *bt_next-bt : 0;
if (!tmax)