Skip to content

Commit 6fdfccf

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 2b3b4f0 commit 6fdfccf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,7 @@ esp_err_t i2cSlaveInit(uint8_t num, int sda, int scl, uint16_t slaveID, uint32_t
338338
}
339339
#endif // !defined(CONFIG_IDF_TARGET_ESP32P4)
340340

341-
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 5, 0)) \
342-
|| (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 4, 2) && ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 5, 0)) \
341+
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 5, 0)) || (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 4, 2) && ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 5, 0)) \
343342
|| (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 3) && ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 4, 0))
344343
i2c_ll_set_mode(i2c->dev, I2C_BUS_MODE_SLAVE);
345344
i2c_ll_enable_pins_open_drain(i2c->dev, true);

0 commit comments

Comments
 (0)