Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the constraint check for number of presets not to exceed the num… (
#35167) * Move the constraint check for number of presets not to exceed the number of presets supported from the atomic write commit command handling to the write request * Minor fix * Do not check if totalExpectedCount > 0 since its an unsigned integer - Also no need to check if numberOfPresetsSupported is 0. * Update src/app/clusters/thermostat-server/thermostat-server-presets.cpp * Update src/app/clusters/thermostat-server/thermostat-server-presets.cpp --------- Co-authored-by: Boris Zbarsky <[email protected]>
- Loading branch information