mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 00:05:22 +03:00
Merge pull request #401 from mikeller/fixed_angle_horizon_value_saving
Fixed saving of angle and horizon parameters.
This commit is contained in:
commit
4069ccb702
1 changed files with 3 additions and 3 deletions
|
@ -319,15 +319,15 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
});
|
||||
|
||||
i = 0;
|
||||
$('table.pid_tuning tr.ANGLE input').each(function () {
|
||||
$('div.pid_tuning tr.ANGLE input').each(function () {
|
||||
PIDs[7][i++] = parseFloat($(this).val());
|
||||
});
|
||||
$('table.pid_tuning tr.HORIZON input').each(function () {
|
||||
$('div.pid_tuning tr.HORIZON input').each(function () {
|
||||
PIDs[7][i++] = parseFloat($(this).val());
|
||||
});
|
||||
|
||||
i = 0;
|
||||
$('table.pid_tuning tr.MAG input').each(function () {
|
||||
$('div.pid_tuning tr.MAG input').each(function () {
|
||||
PIDs[8][i++] = parseFloat($(this).val());
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue