1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-19 06:15:13 +03:00

Fix for fix

This commit is contained in:
Bas Delfos 2017-07-29 12:24:42 +02:00
parent e5b777b86f
commit 70c69b807d
3 changed files with 4 additions and 4 deletions

View file

@ -557,7 +557,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
case MSPCodes.MSP_MIXER_CONFIG:
MIXER_CONFIG.mixer = data.readU8();
if (semver.lt(CONFIG.apiVersion, "1.36.0")) {
if (semver.gte(CONFIG.apiVersion, "1.36.0")) {
MIXER_CONFIG.reverseMotorDir = data.readU8();
}
break;
@ -1163,7 +1163,7 @@ MspHelper.prototype.crunch = function(code) {
break;
case MSPCodes.MSP_SET_MIXER_CONFIG:
buffer.push8(MIXER_CONFIG.mixer)
if (semver.lt(CONFIG.apiVersion, "1.36.0")) {
if (semver.gte(CONFIG.apiVersion, "1.36.0")) {
buffer.push8(MIXER_CONFIG.reverseMotorDir);
}
break;