Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/esp_hid/src/
Desp_hidh.c22 static xSemaphoreHandle s_esp_hidh_devices_semaphore = NULL; variable
28 if (s_esp_hidh_devices_semaphore != NULL) { in lock_devices()
29 xSemaphoreTake(s_esp_hidh_devices_semaphore, portMAX_DELAY); in lock_devices()
35 if (s_esp_hidh_devices_semaphore != NULL) { in unlock_devices()
36 xSemaphoreGive(s_esp_hidh_devices_semaphore); in unlock_devices()
70 if (s_esp_hidh_devices_semaphore != NULL) { in esp_hidh_init()
88 s_esp_hidh_devices_semaphore = xSemaphoreCreateMutex(); in esp_hidh_init()
89 if (s_esp_hidh_devices_semaphore == NULL) { in esp_hidh_init()
109 vSemaphoreDelete(s_esp_hidh_devices_semaphore); in esp_hidh_init()
110 s_esp_hidh_devices_semaphore = NULL; in esp_hidh_init()
[all …]