The dbMax range is more stringent
"If you want the dbMax value to always be greater than dbMin, there should be at least a '+1'."
This commit is contained in:
@@ -475,7 +475,7 @@ static void UpdateRssiTriggerLevel(bool inc) {
|
|||||||
static void UpdateDBMax(bool inc) {
|
static void UpdateDBMax(bool inc) {
|
||||||
if (inc && settings.dbMax < 10) {
|
if (inc && settings.dbMax < 10) {
|
||||||
settings.dbMax += 1;
|
settings.dbMax += 1;
|
||||||
} else if (!inc && settings.dbMax > settings.dbMin) {
|
} else if (!inc && settings.dbMax > 12+settings.dbMin) {
|
||||||
settings.dbMax -= 1;
|
settings.dbMax -= 1;
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user