mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-06 22:24:33 +02:00
I2C: i2c.h/i2c.c applied new code formatting
This commit is contained in:
@@ -93,7 +93,6 @@ static i2c_config_t i2c_slave_init(void)
|
|||||||
|
|
||||||
TEST_CASE("I2C i2c_set_pin() fails if sda and scl gpios are same", "[i2c]")
|
TEST_CASE("I2C i2c_set_pin() fails if sda and scl gpios are same", "[i2c]")
|
||||||
{
|
{
|
||||||
// master test
|
|
||||||
TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, i2c_set_pin(0, 0, 0, true, true , I2C_MODE_SLAVE));
|
TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, i2c_set_pin(0, 0, 0, true, true , I2C_MODE_SLAVE));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user