Skip to content

Commit

Permalink
small Heuristic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lumapu committed Nov 1, 2023
1 parent f1dfd32 commit 179c513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hm/Heuristic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 179c513

Please sign in to comment.