Skip to content

Conversation

@AK5nowman
Copy link

This adds overlay support to usermodsv2. It does not remove legacy overlay support from the main code base. Need to refactor the remaining overlay before that can be done.


void addToConfig(JsonObject& root)
{
JsonObject top = root[FPSTR("sevenseg")];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you, please, rewrite string use to minimize flash usage?
Samples are in quite a few recent usermods, including Temperature, Multi Relay and PWM fan.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, I think I got the big offenders.

@Aircoookie
Copy link
Member

Thank you. Approving of the extra usermod hook :)
@blazoncek feel free to merge once strings are optimized

@blazoncek
Copy link
Contributor

@AK5nowman, due to recent commits, is it ready for merge?

@AK5nowman
Copy link
Author

@blazoncek yes, should be good to go.

@blazoncek blazoncek merged commit 392bda7 into wled:master Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants