1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00

Merge pull request #194 from NightHawk32/bf_3d_fix

3D msp fix, corresponding to firmware in MSP_SET_RC_DEADBAND
This commit is contained in:
Anton Stålheim 2016-08-08 18:58:08 +02:00 committed by GitHub
commit a3c3c8a367

View file

@ -1629,6 +1629,10 @@ MSP.crunch = function (code) {
buffer.push(RC_deadband.deadband);
buffer.push(RC_deadband.yaw_deadband);
buffer.push(RC_deadband.alt_hold_deadband);
if (semver.gte(CONFIG.apiVersion, "1.17.0")) {
buffer.push(lowByte(_3D.deadband3d_throttle));
buffer.push(highByte(_3D.deadband3d_throttle));
}
break;
case MSP_codes.MSP_SET_SENSOR_ALIGNMENT: