1
0
Fork 0
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:
Pawel Spychalski (DzikuVx) 2019-12-27 13:53:39 +01:00
parent b92c852ff9
commit 2d284a6c5c
2 changed files with 14 additions and 5 deletions

View file

@ -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