mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
bridge: Fix the bridged endpoint plugin init
This commit is contained in:
@@ -162,7 +162,7 @@ static esp_err_t plugin_init_callback_endpoint(endpoint_t *endpoint)
|
||||
return ESP_ERR_INVALID_ARG;
|
||||
}
|
||||
ESP_LOGI(TAG, "Cluster plugin init for the new added endpoint");
|
||||
cluster_t *cluster = get_first(endpoint);
|
||||
cluster_t *cluster = cluster::get_first(endpoint);
|
||||
while (cluster) {
|
||||
/* Plugin server init callback */
|
||||
cluster::plugin_server_init_callback_t plugin_server_init_callback =
|
||||
@@ -175,7 +175,7 @@ static esp_err_t plugin_init_callback_endpoint(endpoint_t *endpoint)
|
||||
if (plugin_client_init_callback) {
|
||||
plugin_client_init_callback();
|
||||
}
|
||||
cluster = get_next(cluster);
|
||||
cluster = cluster::get_next(cluster);
|
||||
}
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user