change lqi sign

This commit is contained in:
Thorsten Laux 2019-01-08 09:18:15 +01:00
parent 4e3b21ede1
commit 90e1117794
1 changed files with 2 additions and 2 deletions

View File

@ -196,9 +196,9 @@ static bool tuneRx(uint8_t *packet)
if (packet[ccLen - 1] & 0x80) {
if (packet[2] == 0x01) {
uint8_t Lqi = packet[ccLen - 1] & 0x7F;
if (Lqi < 50) {
// higher lqi represent better link quality
if (Lqi > 50) {
rxFrSkySpiConfigMutable()->bindOffset = bindOffset;
return true;
}
}