mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-21 15:25:22 +03:00
replacing RC_CONTROLS with RC_DEADBAND
This commit is contained in:
parent
24a82dac93
commit
adfb93085c
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue