mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-25 09:15:42 +03:00
Improved filters
This commit is contained in:
parent
28bb794dff
commit
21c8c856f9
2 changed files with 17 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/*global chrome*/
|
||||
/*global chrome,helper,mspHelper*/
|
||||
'use strict';
|
||||
|
||||
TABS.pid_tuning = {
|
||||
|
@ -14,7 +14,8 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
mspHelper.loadPidData,
|
||||
mspHelper.loadINAVPidConfig,
|
||||
mspHelper.loadPidAdvanced,
|
||||
mspHelper.loadFilterConfig
|
||||
mspHelper.loadFilterConfig,
|
||||
mspHelper.loadBfConfig
|
||||
];
|
||||
loadChain.push(mspHelper.loadRateProfileData);
|
||||
|
||||
|
@ -108,6 +109,7 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
localize();
|
||||
|
||||
helper.tabs.init($('.tab-pid_tuning'));
|
||||
helper.features.updateUI($('.tab-pid_tuning'), BF_CONFIG.features);
|
||||
|
||||
hideUnusedPids(CONFIG.activeSensors);
|
||||
|
||||
|
@ -224,7 +226,11 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
});
|
||||
}
|
||||
|
||||
mspHelper.savePidData(send_rc_tuning_changes);
|
||||
helper.features.reset();
|
||||
helper.features.fromUI($('.tab-pid_tuning'));
|
||||
helper.features.execute(function () {
|
||||
mspHelper.savePidData(send_rc_tuning_changes);
|
||||
});
|
||||
});
|
||||
|
||||
GUI.content_ready(callback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue