mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 16:25:19 +03:00
crude port
This commit is contained in:
parent
706cb4c36f
commit
25c8a6f61c
15 changed files with 50864 additions and 4 deletions
|
@ -217,8 +217,10 @@ function onOpen(openInfo) {
|
|||
// continue as usually
|
||||
CONFIGURATOR.connectionValid = true;
|
||||
GUI.allowedTabs = GUI.defaultAllowedTabsWhenConnected.slice();
|
||||
if (semver.lt(CONFIG.apiVersion, "1.4.0")) {
|
||||
GUI.allowedTabs.splice(GUI.allowedTabs.indexOf('led_strip'), 1);
|
||||
//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")) {
|
||||
GUI.allowedTabs.splice(GUI.allowedTabs.indexOf('osd'), 1);
|
||||
}
|
||||
|
||||
onConnect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue