From 3852cc5beeaff0513945c495e200cbd79c69e146 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-12PPI61\\boris.bozic" Date: Sun, 26 Jun 2016 14:09:39 +0200 Subject: [PATCH] Fix Saving bug --- js/msp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/msp.js b/js/msp.js index 7e6a7e21..71bd6780 100755 --- a/js/msp.js +++ b/js/msp.js @@ -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: