diff --git a/.gitignore b/.gitignore index a4ce83c9..c23eeb4b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .DS_store nbproject/ node_modules/ +npm-debug.log .idea/ npm-debug.log inav-configurator.iml \ No newline at end of file diff --git a/js/serial_backend.js b/js/serial_backend.js index 308aef0e..6ca33347 100755 --- a/js/serial_backend.js +++ b/js/serial_backend.js @@ -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); }