1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 00:35:26 +03:00

Merge remote-tracking branch 'upstream/NewPIDFunctions' into NewPIDFunctions

This commit is contained in:
NightHawk32 2015-12-27 16:18:06 -05:00
commit 1aeb244a91
7 changed files with 78 additions and 60 deletions

View file

@ -59,7 +59,7 @@ var MSP_codes = {
MSP_BOXIDS: 119,
MSP_SERVO_CONFIGURATIONS: 120,
MSP_3D: 124,
MSP_RC_CONTROLS: 125,
MSP_RC_READBAND: 125,
MSP_SENSOR_ALIGNMENT: 126,
MSP_SET_RAW_RC: 200,
@ -525,7 +525,7 @@ var MSP = {
}
}
break;
case MSP_codes.MSP_RC_CONTROLS:
case MSP_codes.MSP_RC_READBAND:
var offset = 0;
RC_controls.deadband = data.getUint8(offset++, 1);
RC_controls.yaw_deadband = data.getUint8(offset++, 1);