Merge pull request #899 from wind0r/remove_disarm_kill_switch_disable

remove or hide setting which disallow disarming on throttle above low
10.3.x-maintenance
Michael Keller 2018-02-09 20:00:08 +13:00 committed by GitHub
commit 48ee8fea78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -628,6 +628,11 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
$('div.cycles').show();
}
if(semver.gte(CONFIG.apiVersion, "1.37.0") || !isExpertModeEnabled()) {
$('input[id="disarmkillswitch"]').prop('checked', true);
$('div.disarm').hide();
}
$('._smallAngle').hide();
if(semver.gte(CONFIG.apiVersion, "1.37.0")) {
$('input[id="configurationSmallAngle"]').val(ARMING_CONFIG.small_angle);