Merge with latest 2.3

This commit is contained in:
Bertrand Songis
2020-06-18 11:14:07 +02:00
121 changed files with 3269 additions and 1775 deletions
+4 -2
View File
@@ -227,6 +227,8 @@ void processHubPacket(uint8_t id, int16_t value)
else if (id == VOLTS_ID) {
unit = UNIT_CELLS;
uint32_t cellData = (uint32_t)data;
if (((cellData & 0x00F0) >> 4) >= MAX_CELLS)
return;
data = ((cellData & 0x00F0) << 12) + (((((cellData & 0xFF00) >> 8) + ((cellData & 0x000F) << 8))) / 5);
}
else if (id == GPS_DAY_MONTH_ID) {
@@ -264,7 +266,7 @@ void processHubPacket(uint8_t id, int16_t value)
data *= 10;
}
}
setTelemetryValue(PROTOCOL_TELEMETRY_FRSKY_D, id, 0, 0, data, unit, precision);
}
@@ -326,4 +328,4 @@ void frskyDSetDefault(int index, uint16_t id)
}
storageDirty(EE_MODEL);
}
}