Skip to content
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

[SL-UP] Circular callback fix #85

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

lpbeliveau-silabs
Copy link
Contributor

Added an attribute access interface to modify the percent setting from changes on the speed setting ONLY when on client WRITE commands to the SpeedSetting attribute.

That way, we break the circular callback chain on percent changes that caused (With a MaxSpeed of 10):
Write PercentSetting: 25 -> Callback SpeedSetting -> 3 -> Callback PercentSetting: 30

@lpbeliveau-silabs lpbeliveau-silabs requested review from a team as code owners October 31, 2024 15:27
@lpbeliveau-silabs lpbeliveau-silabs changed the base branch from main to release_2.4-1.4 October 31, 2024 15:27
@lpbeliveau-silabs lpbeliveau-silabs merged commit b58c614 into release_2.4-1.4 Oct 31, 2024
12 checks passed
@lpbeliveau-silabs lpbeliveau-silabs deleted the bugfix/fan_control_callbacks branch October 31, 2024 20:56
mkardous-silabs pushed a commit that referenced this pull request Nov 13, 2024
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.

4 participants