mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 16:55:22 +03:00
Fix PID save on older FC versions
This commit is contained in:
parent
edb0179265
commit
da6d74abc8
1 changed files with 5 additions and 3 deletions
|
@ -69,9 +69,11 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
var $this = $(this),
|
||||
bankPosition = $this.data('pid-bank-position');
|
||||
|
||||
$this.find('input').each(function (index) {
|
||||
PIDs[bankPosition][index] = parseFloat($(this).val());
|
||||
})
|
||||
if (PIDs[bankPosition]) {
|
||||
$this.find('input').each(function (index) {
|
||||
PIDs[bankPosition][index] = parseFloat($(this).val());
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// catch RC_tuning changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue