S3: increase MAX_LEDS
S3 (opi PSRAM) can handle 128x128 pixels on HUB75.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user