Skip to content

Commit

Permalink
Cluster id should always be 4 bytes long (#13571)
Browse files Browse the repository at this point in the history
* Cluster id is 4 bytes long

* Use ClusterId

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
  • Loading branch information
2 people authored and pull[bot] committed Oct 26, 2023
1 parent 3e7c561 commit a712bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/CHIPCluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ class DLL_EXPORT ClusterBase
}

protected:
ClusterBase(uint16_t cluster) : mClusterId(cluster) {}
ClusterBase(ClusterId cluster) : mClusterId(cluster) {}

const ClusterId mClusterId;
DeviceProxy * mDevice;
Expand Down

0 comments on commit a712bae

Please sign in to comment.