From 45441a8e81fa54aca87eb4b5d6e9a9cf9a20efcc Mon Sep 17 00:00:00 2001 From: DanielR92 Date: Mon, 19 Sep 2022 12:53:44 +0200 Subject: [PATCH] potential fix #270 potential fix #270 (number of inverter channels was a fixed value of 5) - thx @lumapu --- tools/esp8266/html/visualization.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/esp8266/html/visualization.html b/tools/esp8266/html/visualization.html index 5da87ebc..1f5901b4 100644 --- a/tools/esp8266/html/visualization.html +++ b/tools/esp8266/html/visualization.html @@ -61,8 +61,7 @@ } main.appendChild(ch0); - - for(var i = 1; i < 5; i++) { + for(var i = 1; i < (iv["channels"] + 1); i++) { var ch = div(["ch"]); ch.appendChild(span(("" == iv["ch_names"][i]) ? ("CHANNEL " + i) : iv["ch_names"][i], ["head"]));