Show Pitch P/I/D and Roll P/I/D in-flight adjustments when using
firmware 1.9.0. Fix missing 'Roll D' inflight adjustment. Latest Cleanflight release candidate 1.9.0 now has support for them. Previously it was unknown if the code was going to be in the 1.9.0 or 1.9.1 release.10.3.x-maintenance
parent
5f05e4c8cc
commit
6b93e354c8
|
@ -67,8 +67,8 @@ TABS.adjustments.initialize = function (callback) {
|
|||
|
||||
if (semver.gte(CONFIG.flightControllerVersion, '1.8.0')) {
|
||||
availableFunctionCount += 2; // pitch and roll rate
|
||||
if (semver.gte(CONFIG.flightControllerVersion, '1.9.1')) {
|
||||
availableFunctionCount += 5; // pitch p,i,d and roll p,i,d
|
||||
if (semver.gte(CONFIG.flightControllerVersion, '1.9.0')) {
|
||||
availableFunctionCount += 6; // pitch p,i,d and roll p,i,d
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue