Merge branch 'budfix/fix_i2c_driver_ut' into 'master'

bugfix(i2c): fix i2c driver ut issue.

See merge request espressif/esp-idf!6805
This commit is contained in:
Wang Jia Lin 2019-11-25 21:31:35 +08:00
commit 557234d625

View File

@ -107,11 +107,11 @@ static void i2c_master_write_test(void)
int i;
i2c_config_t conf_master = i2c_master_init();
TEST_ESP_OK(i2c_param_config(I2C_MASTER_NUM, &conf_master));
TEST_ESP_OK(i2c_driver_install(I2C_MASTER_NUM, I2C_MODE_MASTER,
I2C_MASTER_RX_BUF_DISABLE,
I2C_MASTER_TX_BUF_DISABLE, 0));
TEST_ESP_OK(i2c_param_config(I2C_MASTER_NUM, &conf_master));
unity_wait_for_signal("i2c slave init finish");
unity_send_signal("master write");