-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the Pre-Attribute checking for laundry washer controls cluster (#…
…28618) * Add the PreAttribute checking for laundry washer controls cluster Signed-off-by: Chin-Ran Lo <chin-ran.lo@nxp.com> * Restyled by clang-format * Fix the warning in Darwin platform Signed-off-by: Chin-Ran Lo <chin-ran.lo@nxp.com> * Move the Pre-Attribute checking from the delegate to cluster handler Signed-off-by: Chin-Ran Lo <chin-ran.lo@nxp.com> * Restyled by clang-format * * Remove the redundant checking for read-only attributes * Not adding the API to get the size of the spin-speed list * Add the nullable attribute checking Signed-off-by: Chin-Ran Lo <chin-ran.lo@nxp.com> * Fix by follow review's comment - Replace a infinit for loop with a while true loop - Use the meaning variables to access Signed-off-by: Chin-Ran Lo <chin-ran.lo@nxp.com> * Restyled by clang-format * Fix the tidy warning for "Build on Linux" Signed-off-by: Chin-Ran Lo <chin-ran.lo@nxp.com> * Abort the program if delegate does not exist while writing the attribute Signed-off-by: Chin-Ran Lo <chin-ran.lo@nxp.com> --------- Signed-off-by: Chin-Ran Lo <chin-ran.lo@nxp.com> Co-authored-by: Restyled.io <commits@restyled.io>
- Loading branch information
Showing
3 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,3 +73,4 @@ ClustersWithPreAttributeChangeFunctions: | |
- Mode Select | ||
- Fan Control | ||
- Thermostat | ||
- Laundry Washer Controls |