Skip to content

Commit 310dc4c

Browse files
Apply suggestions from code review
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
1 parent a9ea997 commit 310dc4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/clusters/energy-preference-server/energy-preference-server.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct Delegate
4848
* @param aOutLabel The Label value from BalanceStruct. Storage is
4949
* provided by the caller, and is large enough to accomodate the
5050
* longest label (64 chars), on successful return the size of the span must be
51-
* adjusted to reflect the length of the value.
51+
* adjusted to reflect the length of the value, or ClearValue() called on the Optional to indicate there is no label.
5252
*
5353
* @return CHIP_ERROR_NOT_FOUND if the index is out of range.
5454
*/
@@ -79,7 +79,7 @@ struct Delegate
7979
* @param aOutLabel The Label value from BalanceStruct. Storage is
8080
* provided by the caller, and is large enough to accomodate the
8181
* longest label (64 chars), on successful return the size of the span must be
82-
* adjusted to reflect the length of the value.
82+
* adjusted to reflect the length of the value, or ClearValue() called on the Optional to indicate there is no label.
8383
*
8484
* @return CHIP_ERROR_NOT_FOUND if the index is out of range.
8585
*/

0 commit comments

Comments
 (0)