Fix Saving bug

10.3.x-maintenance
U-DESKTOP-12PPI61\boris.bozic 2016-06-26 14:09:39 +02:00
parent 2caeda1597
commit 3852cc5bee
1 changed files with 2 additions and 2 deletions

View File

@ -1456,9 +1456,9 @@ MSP.crunch = function (code) {
case MSP_codes.MSP_SET_SPECIAL_PARAMETERS:
buffer.push(Math.round(SPECIAL_PARAMETERS.RC_RATE_YAW * 100));
if (CONFIG.flightControllerIdentifier == "BTFL" && semver.gte(CONFIG.flightControllerVersion, "2.8.2")) {
buffer.push(SPECIAL_PARAMETERS.airModeActivateThreshold);
buffer.push16(SPECIAL_PARAMETERS.airModeActivateThreshold);
buffer.push(SPECIAL_PARAMETERS.rcSmoothInterval);
buffer.push(SPECIAL_PARAMETERS.escDesyncProtection);
buffer.push16(SPECIAL_PARAMETERS.escDesyncProtection);
}
break;
case MSP_codes.MSP_SET_SENSOR_CONFIG: