Skip to content

Commit 1e69910

Browse files
committed
Revert "i2c_ll_enable_arbitration(i2c->dev, true) (#11271)"
This reverts commit 977ab1d.
1 parent 977ab1d commit 1e69910

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cores/esp32/esp32-hal-i2c-slave.c

-5
Original file line numberDiff line numberDiff line change
@@ -337,16 +337,11 @@ esp_err_t i2cSlaveInit(uint8_t num, int sda, int scl, uint16_t slaveID, uint32_t
337337
}
338338
#endif // !defined(CONFIG_IDF_TARGET_ESP32P4)
339339

340-
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 5, 0)
341-
i2c_ll_enable_arbitration(i2c->dev, true);
342-
i2c_ll_enable_fifo_mode(i2c->dev, true);
343-
#else
344340
i2c_ll_slave_init(i2c->dev);
345341
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 4, 0)
346342
i2c_ll_enable_fifo_mode(i2c->dev, true);
347343
#else
348344
i2c_ll_slave_set_fifo_mode(i2c->dev, true);
349-
#endif
350345
#endif
351346
i2c_ll_set_slave_addr(i2c->dev, slaveID, false);
352347
i2c_ll_set_tout(i2c->dev, I2C_LL_MAX_TIMEOUT);

0 commit comments

Comments
 (0)