mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 00:05:22 +03:00
Bug fix configurator.js
This commit is contained in:
parent
9738fef79e
commit
c33cf6af2b
1 changed files with 4 additions and 3 deletions
|
@ -260,11 +260,12 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
if(CONFIG.apiVersion >= 1.8) {
|
||||
$('input[name="autodisarmdelay"]').val(ARMING_CONFIG.auto_disarm_delay);
|
||||
$('input[name="disarmkillswitch"]').prop('checked', ARMING_CONFIG.disarm_kill_switch);
|
||||
if(bit_check(BF_CONFIG.features, 4 + 1))//MOTOR_STOP
|
||||
$('div.disarm').show();
|
||||
if(bit_check(BF_CONFIG.features, 4))//MOTOR_STOP
|
||||
$('div.disarmdelay').show();
|
||||
else
|
||||
$('div.disarmdelay').hide();
|
||||
}
|
||||
else
|
||||
$('div.disarm').hide();
|
||||
|
||||
// fill throttle
|
||||
$('input[name="minthrottle"]').val(MISC.minthrottle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue