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

Added send of rate_limits over MSP.

This commit is contained in:
Ian Murphy 2019-04-13 00:46:37 +01:00
parent 991c051e80
commit fd84f9d8a8

View file

@ -1458,6 +1458,11 @@ MspHelper.prototype.crunch = function(code) {
buffer.push8(RC_tuning.throttleLimitType);
buffer.push8(RC_tuning.throttleLimitPercent);
}
if (semver.gte(CONFIG.apiVersion, "1.42.0")) {
buffer.push16(RC_tuning.roll_rate_limit);
buffer.push16(RC_tuning.pitch_rate_limit);
buffer.push16(RC_tuning.yaw_rate_limit);
}
break;
case MSPCodes.MSP_SET_RX_MAP:
for (var i = 0; i < RC_MAP.length; i++) {