Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/driver/
Dtwai.c308 static void twai_free_driver_obj(twai_obj_t *p_obj) in twai_free_driver_obj() argument
312 if (p_obj->pm_lock != NULL) { in twai_free_driver_obj()
313 ESP_ERROR_CHECK(esp_pm_lock_delete(p_obj->pm_lock)); in twai_free_driver_obj()
317 if (p_obj->tx_queue != NULL) { in twai_free_driver_obj()
318 vQueueDelete(p_obj->tx_queue); in twai_free_driver_obj()
320 if (p_obj->rx_queue != NULL) { in twai_free_driver_obj()
321 vQueueDelete(p_obj->rx_queue); in twai_free_driver_obj()
323 if (p_obj->alert_semphr != NULL) { in twai_free_driver_obj()
324 vSemaphoreDelete(p_obj->alert_semphr); in twai_free_driver_obj()
328 free(p_obj->tx_queue_buff); in twai_free_driver_obj()
[all …]