Browse Source

small Heuristic fix

pull/1222/head
lumapu 11 months ago
parent
commit
179c51302b
  1. 2
      src/hm/Heuristic.h

2
src/hm/Heuristic.h

@ -27,7 +27,7 @@ class Heuristic {
id = i; id = i;
} }
} }
if(bestQuality > -6) if(bestQuality == -6)
iv->txRfChId = (iv->txRfChId + 1) % RF_MAX_CHANNEL_ID; // next channel iv->txRfChId = (iv->txRfChId + 1) % RF_MAX_CHANNEL_ID; // next channel
else else
iv->txRfChId = id; // best quality channel iv->txRfChId = id; // best quality channel

Loading…
Cancel
Save