mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 19:40:22 +03:00
OSD tab removed on < 1.5 firmware
This commit is contained in:
parent
25c8a6f61c
commit
3311093cb1
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
|||
.DS_store
|
||||
nbproject/
|
||||
node_modules/
|
||||
npm-debug.log
|
||||
.idea/
|
||||
npm-debug.log
|
||||
inav-configurator.iml
|
|
@ -218,8 +218,8 @@ function onOpen(openInfo) {
|
|||
CONFIGURATOR.connectionValid = true;
|
||||
GUI.allowedTabs = GUI.defaultAllowedTabsWhenConnected.slice();
|
||||
//TODO here we can remove led_strip tab from NAZE and CC3D at least!
|
||||
//FIXME add real version here
|
||||
if (false && semver.lt(CONFIG.flightControllerVersion, "1.4.0")) {
|
||||
|
||||
if (semver.lt(CONFIG.flightControllerVersion, "1.5.0")) {
|
||||
GUI.allowedTabs.splice(GUI.allowedTabs.indexOf('osd'), 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue