fix(i2c_master): Fix the issue that probe cannot work properly after a general call,

Closes https://github.com/espressif/esp-idf/issues/13547
This commit is contained in:
Cao Sen Miao
2024-04-12 11:46:36 +08:00
parent a69c6e8f41
commit 4ba3a4e482
3 changed files with 56 additions and 1 deletions

View File

@@ -145,7 +145,8 @@ struct i2c_master_bus_t {
bool trans_over_buffer; // Data length is more than hardware fifo length, needs interrupt.
bool async_trans; // asynchronous transaction, true after callback is installed.
bool ack_check_disable; // Disable ACK check
volatile bool trans_done; // transaction command finish
volatile bool trans_done; // transaction command finish
bool bypass_nack_log; // Bypass the error log. Sometimes the error is expected.
SLIST_HEAD(i2c_master_device_list_head, i2c_master_device_list) device_list; // I2C device (instance) list
// async trans members
bool async_break; // break transaction loop flag.