-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full brightness on LED count change 2D Matrix #4005
Comments
@blazoncek this is a really annoying issue with 15.x builds, would be nice to have it addressed. It happens for me when changing seemingly anything in the led settings. |
How many times do you change LED count? |
Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs. |
I looked into this bug as it is really annyoing. it changes the brightness every time the settings are saved, not only when ledcount changes, any change to LED settings triggers a full brightness. |
Have you checked different NPB versions? |
not yet. I first need to figure out what happened in 7c8df97 as the commit itself does not introduce any new code, but since its a merge commit it probably pulled a lot of stuff in right? |
That was just a merge of main branch to make it compatible for the opposite direction merge later on. |
if you have the time, try this:
|
That's because NPB is reinitialized. Perhaps all it needs is |
that would be an easy fix. I can test if that does the trick and it may very well work, as the brightness is fixed once I move the slider in the UI. |
Bug found and mitigated. |
that was quick, thank you! |
yes, re-initialised NPB |
What happened?
When changing LED count for a 2D matrix, the panel goes to full brightness upon saving.
To Reproduce Bug
Simply change LED count. I went from 256 to 255 and panel went to full bright on saving.
Expected Behavior
Was hoping the panel would stay the same brightness as the slider indicated and from previous setting.
Install Method
Binary from WLED.me
What version of WLED?
0.15.0-b3
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: