-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Bluetooth: Mesh: Recalculate regulator internal sum #11713
Conversation
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
c301fe7
to
745fbb7
Compare
958bb79
to
90c5e6f
Compare
@omkar3141, please review. |
Test specificationCI/Jenkins/NRF
CI/Jenkins/integration
Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few things that caught my attention.
90c5e6f
to
be9eee8
Compare
be9eee8
to
10e4fce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a tiny style comment, but not gonna hold approval because of it.
Use system time instead of mocking k_* functions. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
After switching the controller tests to system time, the regulator test that checks regulator's wrap around behavior started taking too much time. Wisely hack the internal sum of the regulator to avoid long execution time. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
Recalculate internal sum of the regulator to mitigate rapid change of the regulator output when lightness value is non zero. Add ramp up time to the pi regulator to artificially delay the regulator. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
10e4fce
to
06a4de1
Compare
Recalculate internal sum of the regulator to mitigate rapid change of
the regulator output when lightness value is non zero.
Add ramp up time to the pi regulator to artificially delay the
regulator.
This PR additionally changes light controller unit test to use system
time instead of mocking kernel functions to test the regulator with
the fsm.
Commits are split to make easier to see changes related to new behavior.