Browse Source

potential fix #270

potential fix #270 (number of inverter channels was a fixed value of 5) - thx @lumapu
pull/291/head
DanielR92 3 years ago
committed by GitHub
parent
commit
45441a8e81
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tools/esp8266/html/visualization.html

3
tools/esp8266/html/visualization.html

@ -61,8 +61,7 @@
} }
main.appendChild(ch0); main.appendChild(ch0);
for(var i = 1; i < (iv["channels"] + 1); i++) {
for(var i = 1; i < 5; i++) {
var ch = div(["ch"]); var ch = div(["ch"]);
ch.appendChild(span(("" == iv["ch_names"][i]) ? ("CHANNEL " + i) : iv["ch_names"][i], ["head"])); ch.appendChild(span(("" == iv["ch_names"][i]) ? ("CHANNEL " + i) : iv["ch_names"][i], ["head"]));

Loading…
Cancel
Save