How can i add > 500 leds?

Hey! I change MAX_LEDS_DMA to 540 (i have a 540 leds), but always not work! I think i need to change UI config. I look at html_settings.h, but no results :frowning: . But 500 leds works good and all work! Please help with it :3

Hey!
Change line 274 of xml.cpp to oappend("d.Sf.LC.max=540;"); :slight_smile:

1 Like

Thank you very much for fast answer! Now all is work!

1 Like

Should that be hard-coded like that?! :open_mouth:

No, that will be changed in 0.12.0.
I still want to keep people from entering into an out-of-memory bootloop because the entered a 0 too much on the LED count, but the define in const.h should ideally change the value in xml.cpp as well :sweat_smile:

1 Like