mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-26 01:35:23 +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),
|
var $this = $(this),
|
||||||
bankPosition = $this.data('pid-bank-position');
|
bankPosition = $this.data('pid-bank-position');
|
||||||
|
|
||||||
$this.find('input').each(function (index) {
|
if (PIDs[bankPosition]) {
|
||||||
PIDs[bankPosition][index] = parseFloat($(this).val());
|
$this.find('input').each(function (index) {
|
||||||
})
|
PIDs[bankPosition][index] = parseFloat($(this).val());
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// catch RC_tuning changes
|
// catch RC_tuning changes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue