mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 01:35:28 +03:00
Remove feature for versions prior to 3.0
This commit is contained in:
parent
aab0035d92
commit
ac8eab6f8c
2 changed files with 6 additions and 1 deletions
|
@ -485,7 +485,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gui_box grey">
|
||||
<div class="gui_box grey miscSettings">
|
||||
<div class="gui_box_titlebar">
|
||||
<div class="spacer_box_title" i18n="configurationMisc"></div>
|
||||
</div>
|
||||
|
|
|
@ -397,6 +397,11 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
}
|
||||
|
||||
$('input[name="vesselName"]').val(CONFIG.name);
|
||||
|
||||
if (CONFIG.flightControllerIdentifier != "BTFL" || semver.lt(CONFIG.flightControllerVersion, "3.0.0")) {
|
||||
$('.miscSettings').hide();
|
||||
}
|
||||
|
||||
|
||||
|
||||
// generate GPS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue