mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 01:05:15 +03:00
gaaaa versions are inconsistent!
This commit is contained in:
parent
9ce7f76f27
commit
0412c4b113
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
}).then(function() {
|
||||
return MSP.promise(MSP_codes.MSP_PID);
|
||||
}).then(function () {
|
||||
if (semver.gte(CONFIG.apiVersion, "2.9.0") && semver.lte(CONFIG.apiVersion, "3.0.0")) {
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "2.9.0") && semver.lte(CONFIG.apiVersion, "3.0.0")) {
|
||||
return MSP.promise(MSP_codes.MSP_SPECIAL_PARAMETERS);
|
||||
}
|
||||
}).then(function() {
|
||||
|
@ -703,7 +703,7 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
}).then(function () {
|
||||
return MSP.promise(MSP_codes.MSP_SET_PID, MSP.crunch(MSP_codes.MSP_SET_PID));
|
||||
}).then(function () {
|
||||
if (semver.gte(CONFIG.apiVersion, "2.9.0") && semver.lte(CONFIG.apiVersion, "3.0.0")) {
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "2.9.0") && semver.lte(CONFIG.apiVersion, "3.0.0")) {
|
||||
return MSP.promise(MSP_codes.MSP_SET_SPECIAL_PARAMETERS, MSP.crunch(MSP_codes.MSP_SET_SPECIAL_PARAMETERS));
|
||||
}
|
||||
}).then(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue