mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-18 22:05:13 +03:00
Added disabling of runaway takeoff prevention.
This commit is contained in:
parent
bf717b27eb
commit
5d760e8735
6 changed files with 55 additions and 31 deletions
|
@ -72,7 +72,7 @@ function initializeSerialBackend() {
|
|||
finishClose(toggleStatus);
|
||||
}
|
||||
|
||||
mspHelper.setArmingEnabled(true, onFinishCallback);
|
||||
mspHelper.setArmingEnabled(true, false, onFinishCallback);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -227,8 +227,8 @@ function onOpen(openInfo) {
|
|||
MSP.send_message(MSPCodes.MSP_NAME, false, false, function () {
|
||||
GUI.log(i18n.getMessage('craftNameReceived', [CONFIG.name]));
|
||||
|
||||
CONFIG.arming_disabled = false;
|
||||
mspHelper.setArmingEnabled(false, finishOpen);
|
||||
CONFIG.armingDisabled = false;
|
||||
mspHelper.setArmingEnabled(false, false, finishOpen);
|
||||
});
|
||||
} else {
|
||||
finishOpen();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue