mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 06:15:13 +03:00
Merge pull request #566 from basdelfos/copy-profile
Added copy profile to another profile in PID Tuning tab
This commit is contained in:
commit
e0438d2e8c
7 changed files with 215 additions and 4 deletions
15
js/fc.js
15
js/fc.js
|
@ -55,6 +55,7 @@ var PID_ADVANCED_CONFIG;
|
|||
var FILTER_CONFIG;
|
||||
var ADVANCED_TUNING;
|
||||
var SENSOR_CONFIG;
|
||||
var COPY_PROFILE;
|
||||
|
||||
var FC = {
|
||||
resetState: function() {
|
||||
|
@ -81,12 +82,18 @@ var FC = {
|
|||
};
|
||||
|
||||
BF_CONFIG = {
|
||||
currentscale: 0,
|
||||
currentoffset: 0,
|
||||
currentmetertype: 0,
|
||||
batterycapacity: 0,
|
||||
currentscale: 0,
|
||||
currentoffset: 0,
|
||||
currentmetertype: 0,
|
||||
batterycapacity: 0,
|
||||
};
|
||||
|
||||
COPY_PROFILE = {
|
||||
type: 0,
|
||||
dstProfile: 0,
|
||||
srcProfile: 0,
|
||||
};
|
||||
|
||||
FEATURE_CONFIG = {
|
||||
features: 0,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue