You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
Typo in Inter-Integrated Circuit documentation
Typo in Inter-Integrated Circuit documentation (IDFGH-12417)
Mar 21, 2024
Sorry if this is not directly related to this issue, but I have a question related to the I2C documentation.
In the Documentation for the new I2C driver, it says this:
Thread Safety
The factory function i2c_new_master_bus() and i2c_new_slave_device() are guaranteed to be thread safe by the driver, which means, user can call them from different RTOS tasks without protection by extra locks. Other public I2C APIs are not thread safe. which means the user should avoid calling them from multiple tasks, if user strongly needs to call them in multiple tasks, please add extra lock.
Does this mean that only i2c_new_master_bus() and i2c_new_slave_device() are thread safe, and all other I2C functions are not thread safe?
Answers checklist.
General issue report
This example is described on the following page, but there is a typo.
https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/peripherals/i2c.html
The same Typo is also found in documents other than ESP32 and master (latest).
The text was updated successfully, but these errors were encountered: