Skip to content

Commit e323d23

Browse files
committed
Merge branch 'fix_group_provider_issue' into 'main'
compenents/esp_matter: Add group provider implementation which was accidentally deleted See merge request app-frameworks/esp-matter!1224
2 parents 12285d1 + 661718c commit e323d23

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

components/esp_matter/data_model/esp_matter_data_model.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,6 @@ static esp_err_t disable(endpoint_t *endpoint)
358358
current_endpoint->identify = NULL;
359359
}
360360

361-
// resize the group data provider to match the new endpoint count
362-
resize_group_data_provider();
363-
364361
return ESP_OK;
365362
}
366363

@@ -570,6 +567,10 @@ esp_err_t enable(endpoint_t *endpoint)
570567
lock::chip_stack_unlock();
571568
}
572569
ESP_LOGI(TAG, "Dynamic endpoint %" PRIu16 " added", current_endpoint->endpoint_id);
570+
571+
// resize the group data provider to match the new endpoint count
572+
resize_group_data_provider();
573+
573574
return err;
574575

575576
cleanup:

0 commit comments

Comments
 (0)