HUB75 bugfixes

* exclude HUB75 from ABL (bad macro in const.h; "pwr" item in json.cpp)
* show HUB75 as "physical" (LEDs preferences)
* minor corrections
This commit is contained in:
Frank
2024-09-26 17:33:40 +02:00
parent 1ddc9e38a2
commit bc11ec4b4e
5 changed files with 5 additions and 5 deletions

View File

@@ -250,7 +250,7 @@
if (s+c > sLC) sLC = s+c; //update total count
if(c>maxLC)maxLC=c; //max per output
var t = parseInt(d.getElementsByName("LT"+n)[0].value); // LED type SELECT
if (t<80) sPC+=c; //virtual out busses do not count towards physical LEDs
if ((t<128) && ((t<80) || ((t>99)))) sPC+=c; //virtual out busses do not count towards physical LEDs //WLEDMM include HUB75 (>=100)
} // increase led count
continue;
}