1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-25 01:05:15 +03:00

Fix Saving bug

This commit is contained in:
U-DESKTOP-12PPI61\boris.bozic 2016-06-26 14:09:39 +02:00
parent 2caeda1597
commit 3852cc5bee

View file

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