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

Updated to MSP API v1.42 & rebased onto master.

This commit is contained in:
Ian Murphy 2019-04-12 20:33:50 +01:00
parent d912de75f1
commit 991c051e80
5 changed files with 42 additions and 31 deletions

View file

@ -337,6 +337,11 @@ MspHelper.prototype.process_data = function(dataHandler) {
RC_tuning.throttleLimitType = data.readU8();
RC_tuning.throttleLimitPercent = data.readU8();
}
if (semver.gte(CONFIG.apiVersion, "1.42.0")) {
RC_tuning.roll_rate_limit = data.readU16();
RC_tuning.pitch_rate_limit = data.readU16();
RC_tuning.yaw_rate_limit = data.readU16();
}
break;
case MSPCodes.MSP_PID:
// PID data arrived, we need to scale it and save to appropriate bank / array