exclude HUB75 from auto brightness limiter

For a 64x64 panel, ABL assumes 4A of standby current. This does not make any sense.
This commit is contained in:
Frank
2024-09-22 17:07:26 +02:00
parent 3a638bb396
commit ffc9ec3cfb
4 changed files with 20 additions and 3 deletions

View File

@@ -904,7 +904,7 @@ void serializeInfo(JsonObject root)
JsonObject leds = root.createNestedObject("leds");
leds[F("count")] = strip.getLengthTotal();
leds[F("countP")] = strip.getLengthPhysical(); //WLEDMM
leds[F("countP")] = strip.getLengthPhysical2(); //WLEDMM - getLengthPhysical plus plysical busses not supporting ABL (i.e. HUB75)
leds[F("pwr")] = strip.currentMilliamps;
leds["fps"] = strip.getFps();
leds[F("maxpwr")] = (strip.currentMilliamps)? strip.ablMilliampsMax : 0;