We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deea9f9 commit 40bcd55Copy full SHA for 40bcd55
src/js/tabs/gps.js
@@ -90,7 +90,13 @@ TABS.gps.initialize = function (callback) {
90
}
91
} else {
92
// M8N/M9N on newer firmware
93
- for (let i = 0; i < FC.GPS_DATA.chn.length; i++) {
+
94
+ let channels = FC.GPS_DATA.chn.length;
95
+ if (channels > 32) {
96
+ channels = 32; //the list in html can only show 32 channels but future firmware could send more
97
+ }
98
99
+ for (let i = 0; i < channels; i++) {
100
const row = eSsTable.eq(i);
101
102
if (FC.GPS_DATA.chn[i] <= 6) {
0 commit comments