1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-16 21:05:30 +03:00

MSP_RC_DEADBAND: add deadband3d_throttle

This commit is contained in:
gaelj 2016-07-18 10:15:25 +02:00
parent 9e1eae9690
commit 91d5491e53

View file

@ -597,6 +597,12 @@ var MSP = {
RC_deadband.deadband = data.getUint8(offset++, 1);
RC_deadband.yaw_deadband = data.getUint8(offset++, 1);
RC_deadband.alt_hold_deadband = data.getUint8(offset++, 1);
if (semver.gte(CONFIG.apiVersion, "1.17.0")) {
_3D.deadband3d_throttle = data.getUint16(offset, 1);
offset += 2;
}
break;
case MSP_codes.MSP_SENSOR_ALIGNMENT:
var offset = 0;