mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 16:55:22 +03:00
Correctly initialize variable length PID banks
This commit is contained in:
parent
b92c852ff9
commit
2d284a6c5c
2 changed files with 14 additions and 5 deletions
6
js/fc.js
6
js/fc.js
|
@ -130,11 +130,7 @@ var FC = {
|
|||
};
|
||||
|
||||
PID_names = [];
|
||||
PIDs = new Array(11);
|
||||
for (let i = 0; i < PIDs.length; i++) {
|
||||
PIDs[i] = new Array(4);
|
||||
}
|
||||
|
||||
PIDs = [];
|
||||
RC_MAP = [];
|
||||
|
||||
// defaults
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue