Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/touch_element/
Dtouch_matrix.c33 te_matrix_obj_t *s_te_mat_obj = NULL; variable
59 s_te_mat_obj = (te_matrix_obj_t *)calloc(1, sizeof(te_matrix_obj_t)); in touch_matrix_install()
60 TE_CHECK(s_te_mat_obj != NULL, ESP_ERR_NO_MEM); in touch_matrix_install()
61s_te_mat_obj->global_config = (touch_matrix_global_config_t *)calloc(1, sizeof(touch_matrix_global… in touch_matrix_install()
62 s_te_mat_obj->mutex = xSemaphoreCreateMutex(); in touch_matrix_install()
63 TE_CHECK_GOTO(s_te_mat_obj->global_config != NULL && s_te_mat_obj->mutex != NULL, cleanup); in touch_matrix_install()
64 xSemaphoreTake(s_te_mat_obj->mutex, portMAX_DELAY); in touch_matrix_install()
65 SLIST_INIT(&s_te_mat_obj->handle_list); in touch_matrix_install()
66 memcpy(s_te_mat_obj->global_config, global_config, sizeof(touch_matrix_global_config_t)); in touch_matrix_install()
68 .handle = s_te_mat_obj, in touch_matrix_install()
[all …]