Home
last modified time | relevance | path

Searched refs:local_ctrl_inst_ctx (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/components/esp_local_ctrl/src/
Desp_local_ctrl.c37 struct inst_ctx *local_ctrl_inst_ctx; variable
66 if (local_ctrl_inst_ctx) { in esp_local_ctrl_start()
71 local_ctrl_inst_ctx = calloc(1, sizeof(struct inst_ctx)); in esp_local_ctrl_start()
72 if (!local_ctrl_inst_ctx) { in esp_local_ctrl_start()
76 memcpy(&local_ctrl_inst_ctx->config, config, sizeof(local_ctrl_inst_ctx->config)); in esp_local_ctrl_start()
78 local_ctrl_inst_ctx->props = calloc(local_ctrl_inst_ctx->config.max_properties, in esp_local_ctrl_start()
80 if (!local_ctrl_inst_ctx->props) { in esp_local_ctrl_start()
82 free(local_ctrl_inst_ctx); in esp_local_ctrl_start()
83 local_ctrl_inst_ctx = NULL; in esp_local_ctrl_start()
92 ret = config->transport->copy_config(&local_ctrl_inst_ctx->config.transport_config, in esp_local_ctrl_start()
[all …]