mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
6e1bba7430
As pointed out in PR #13134 by @MatthiasKunnen, there is a deadlock in `s_i2c_synchronous_transaction()` if `s_i2c_transaction_start()` should fail because, on error, s_i2c_synchronous_transaction() returns before releasing the lock. This commit fixes the deadlock without any other changes. Closes: #13387 Signed-off-by: Eric Wheeler <esp-idf@z.ewheeler.org> |
||
---|---|---|
.. | ||
include/driver | ||
test_apps | ||
CMakeLists.txt | ||
i2c_common.c | ||
i2c_master.c | ||
i2c_private.h | ||
i2c_slave.c | ||
Kconfig | ||
linker.lf |