Fix typo in BDS6,0 scoring
This commit is contained in:
parent
f45a7d61a5
commit
2f53b57278
2
comm_b.c
2
comm_b.c
|
@ -698,7 +698,7 @@ static int decodeBDS60(struct modesMessage *mm, bool store)
|
||||||
int delta = abs(baro_rate - inertial_rate);
|
int delta = abs(baro_rate - inertial_rate);
|
||||||
if (delta < 500) {
|
if (delta < 500) {
|
||||||
score += 5;
|
score += 5;
|
||||||
} else if (delta > 200) {
|
} else if (delta > 2000) {
|
||||||
score -= 5;
|
score -= 5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue