driver/i2c: add notes to i2c deleteing function v4.3

This commit is contained in:
laokaiyao
2021-05-07 18:08:54 +08:00
committed by bot
parent b6826d8878
commit 5f184c6556
2 changed files with 4 additions and 0 deletions

View File

@@ -67,6 +67,9 @@ esp_err_t i2c_driver_install(i2c_port_t i2c_num, i2c_mode_t mode, size_t slv_rx_
/**
* @brief I2C driver delete
*
* @note This function does not guarantee thread safety.
* Please make sure that no thread will continuously hold semaphores before calling the delete function.
*
* @param i2c_num I2C port number
*
* @return