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-09-17 16:25:59 +08:00
parent a3de38b0c6
commit cda6c3b988
5 changed files with 92 additions and 1 deletions
@@ -210,6 +210,8 @@ Stopping and Deleting the Node
When the TWAI node is no longer needed, you should call :cpp:func:`twai_node_delete` to release software and hardware resources. Make sure the TWAI controller is stopped before deleting the node.
Note: Due to the design of the driver, please do not call the delete function in the FreeRTOS timer task.
Advanced Features
=================