fix(driver_twai): fix potential crash when node_delete from low priority task

Closes https://github.com/espressif/esp-idf/issues/18803
This commit is contained in:
wanckl
2026-07-27 16:03:43 +08:00
parent b6333dfd49
commit 6e0d480b2a
5 changed files with 92 additions and 1 deletions
@@ -44,6 +44,7 @@ esp_err_t twai_node_recover(twai_node_handle_t node);
/**
* @brief Delete the TWAI node and release resources
* @note Do NOT call this function in the FreeRTOS timer task.
*
* @param node Handle to the TWAI node
* @return - ESP_OK: Success