mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Merge pull request #159 from mikeller/fix_pid_controller_2
Fixed reading PID controller value.
This commit is contained in:
commit
d74f3bc33f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue