esp-matter
esp-matter copied to clipboard
switch_cluster::create() missing final parameter for feature map (CON-1490)
https://github.com/espressif/esp-matter/blob/main/components/esp_matter/esp_matter_cluster.cpp#L1917
namespace switch_cluster {
const function_generic_t *function_list = NULL;
const int function_flags = CLUSTER_FLAG_NONE;
cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
should be
namespace switch_cluster {
const function_generic_t *function_list = NULL;
const int function_flags = CLUSTER_FLAG_NONE;
cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags, uint32_t features)
So that I can set in the feature map when I create the cluster.
We will fix this.
This has been fixed, PTAL RELEASE_NOTES and close this issue.