Skip to content

Commit b8b79b6

Browse files
committed
Cosmetic change
1 parent ba60697 commit b8b79b6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/wiring/m5_unit_unified_wiring.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -686,11 +686,11 @@ inline bool ensureI2CLegacyDriver(const i2c_port_t port, const gpio_num_t sda, c
686686
if (install_err == ESP_OK) {
687687
// Freshly installed by us: configure pins and timing.
688688
i2c_config_t conf{};
689-
conf.mode = I2C_MODE_MASTER;
690-
conf.sda_io_num = sda;
691-
conf.scl_io_num = scl;
692-
conf.sda_pullup_en = true;
693-
conf.scl_pullup_en = true;
689+
conf.mode = I2C_MODE_MASTER;
690+
conf.sda_io_num = sda;
691+
conf.scl_io_num = scl;
692+
conf.sda_pullup_en = true;
693+
conf.scl_pullup_en = true;
694694
conf.master.clk_speed = clock;
695695
if (i2c_param_config(port, &conf) != ESP_OK) {
696696
M5_LIB_LOGE("wiring: legacy i2c param_config failed port=%d sda=%d scl=%d", (int)port, (int)sda, (int)scl);

0 commit comments

Comments
 (0)