From 179c51302b42e2985e6a36ebb1f8cf5c5a3aa750 Mon Sep 17 00:00:00 2001 From: lumapu Date: Wed, 1 Nov 2023 09:51:34 +0100 Subject: [PATCH] small Heuristic fix --- src/hm/Heuristic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hm/Heuristic.h b/src/hm/Heuristic.h index 7364f472..1675eda4 100644 --- a/src/hm/Heuristic.h +++ b/src/hm/Heuristic.h @@ -27,7 +27,7 @@ class Heuristic { id = i; } } - if(bestQuality > -6) + if(bestQuality == -6) iv->txRfChId = (iv->txRfChId + 1) % RF_MAX_CHANNEL_ID; // next channel else iv->txRfChId = id; // best quality channel