mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Merge branch 'fix/twai_fix_eventgroup_usf_v6.0' into 'release/v6.0'
fix(driver_twai): fix potential crash when node_delete from high priority task (v6.0) See merge request espressif/esp-idf!52917
This commit is contained in:
@@ -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
|
||||
=================
|
||||
|
||||
|
||||
@@ -210,6 +210,8 @@ TWAI 驱动支持为每个成功接收的报文创建一个 64 位的时间戳
|
||||
|
||||
当不再需要使用 TWAI 时,应该调用 :cpp:func:`twai_node_delete` 函数来释放软硬件资源。删除前请确保 TWAI 已经处于停止状态。
|
||||
|
||||
注意:由于驱动设计的原因,请不要在 FreeRTOS 定时器任务 (Timer task) 中调用删除函数。
|
||||
|
||||
进阶功能
|
||||
========
|
||||
|
||||
|
||||
Reference in New Issue
Block a user