mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-21 06:56:11 -04:00
27690e0990
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 | ||
i2c_common.c | ||
i2c_master.c | ||
i2c_private.h | ||
i2c_slave.c | ||
i2c.c | ||
linker.lf |