1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-21 15:25:22 +03:00

Added disabling of runaway takeoff prevention.

This commit is contained in:
mikeller 2018-02-14 01:32:23 +13:00
parent bf717b27eb
commit 5d760e8735
6 changed files with 55 additions and 31 deletions

View file

@ -61,26 +61,28 @@ var DEFAULT;
var FC = {
resetState: function() {
CONFIG = {
apiVersion: "0.0.0",
flightControllerIdentifier: '',
flightControllerVersion: '',
version: 0,
buildInfo: '',
multiType: 0,
msp_version: 0, // not specified using semantic versioning
capability: 0,
cycleTime: 0,
i2cError: 0,
activeSensors: 0,
mode: 0,
profile: 0,
uid: [0, 0, 0],
accelerometerTrims: [0, 0],
name: '',
numProfiles: 3,
rateProfile: 0,
boardType: 0,
armingDisableFlags: 0,
apiVersion: "0.0.0",
flightControllerIdentifier: '',
flightControllerVersion: '',
version: 0,
buildInfo: '',
multiType: 0,
msp_version: 0, // not specified using semantic versioning
capability: 0,
cycleTime: 0,
i2cError: 0,
activeSensors: 0,
mode: 0,
profile: 0,
uid: [0, 0, 0],
accelerometerTrims: [0, 0],
name: '',
numProfiles: 3,
rateProfile: 0,
boardType: 0,
armingDisableFlags: 0,
armingDisabled: false,
runawayTakeoffPreventionDisabled: false,
};
BF_CONFIG = {