mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-19 14:25:13 +03:00
presets removed from < 1.6 firmware
This commit is contained in:
parent
ea3c972a49
commit
a734264d87
1 changed files with 7 additions and 0 deletions
|
@ -260,6 +260,13 @@ function onOpen(openInfo) {
|
|||
GUI.allowedTabs.splice(GUI.allowedTabs.indexOf('osd'), 1);
|
||||
}
|
||||
|
||||
/*
|
||||
* Remove Presets on older than 1.6
|
||||
*/
|
||||
if (semver.lt(CONFIG.flightControllerVersion, "1.6.0")) {
|
||||
GUI.allowedTabs.splice(GUI.allowedTabs.indexOf('profiles'), 1);
|
||||
}
|
||||
|
||||
onConnect();
|
||||
|
||||
$('#tabs ul.mode-connected .tab_setup a').click();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue