Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch_cluster::create() missing final parameter for feature map (CON-1490) #1222

Open
jonsmirl opened this issue Dec 26, 2024 · 1 comment

Comments

@jonsmirl
Copy link
Contributor

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.

@github-actions github-actions bot changed the title switch_cluster::create() missing final parameter for feature map switch_cluster::create() missing final parameter for feature map (CON-1490) Dec 26, 2024
@jadhavrohit924
Copy link
Contributor

We will fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants