mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-26 01:35:23 +03:00
Fix version selector
This commit is contained in:
parent
6bd0d17022
commit
3dfc521084
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ function onConnect() {
|
|||
* Init PIDs bank with a length that depends on the version
|
||||
*/
|
||||
let pidCount;
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "2.4.0")) {
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "2.5.0")) {
|
||||
pidCount = 11;
|
||||
} else {
|
||||
pidCount = 10;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue