Fixed reading PID controller value.

10.3.x-maintenance
mikeller 2016-07-29 21:37:04 +12:00
parent 9467a3c0eb
commit 6846df962b
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ TABS.pid_tuning.initialize = function (callback) {
// requesting MSP_STATUS manually because it contains CONFIG.profile
MSP.promise(MSP_codes.MSP_STATUS).then(function() {
if (GUI.canChangePidController) {
if (semver.gte(CONFIG.apiVersion, CONFIGURATOR.pidControllerChangeMinApiVersion)) {
return MSP.promise(MSP_codes.MSP_PID_CONTROLLER);
}
return true;