-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add contraint checks on Color contol arguments value ranges #36202
Add contraint checks on Color contol arguments value ranges #36202
Conversation
…d handler and remove the goto mechanisms
Review changes with SemanticDiff. |
PR #36202: Size comparison from 9041169 to 29a9366 Full report (66 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink)
|
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.
Please do "reorganization with no functional change" and "behavior changes" as separate PRs. Reviewing this and figuring out which behavior changes are intended and which ones are bugs in the refactoring is very difficult.
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.
Ok, I will split it in a few pr this week. Thanks.
fixes #34721
This PR adds some constraint checks on some Color control command arguments, most notably the TransitionTime.
It also rework the command handlers to :
VerifyOrReturnValue
)I verified that there is no regression by running all automated TC-CC tests.