S3: increase MAX_LEDS

S3 (opi PSRAM) can handle 128x128 pixels on HUB75.
This commit is contained in:
Frank
2024-10-14 17:37:37 +02:00
parent 11864326bf
commit d67ba8451a
4 changed files with 11 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ struct BusConfig {
for (uint8_t i = 0; i < min(unsigned(nPins), sizeof(pins)/sizeof(pins[0])); i++) pins[i] = ppins[i]; //softhack007 fix for potential array out-of-bounds access
}
//validates start and length and extends total if needed
//validates start and length and extends total if needed // WLEDMM this function is not used anywhere
bool adjustBounds(uint16_t& total) {
if (!count) count = 1;
if (count > MAX_LEDS_PER_BUS) count = MAX_LEDS_PER_BUS;