8000 Fixed ternary operator spacing · exocode/esp32-snippets@db61e20 · GitHub
[go: up one dir, main page]

Skip to content

Commit db61e20

Browse files
committed
Fixed ternary operator spacing
1 parent 18e77c7 commit db61e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp_utils/I2C.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void I2C::init(uint8_t address, gpio_num_t sdaPin, gpio_num_t sclPin, uint32_t c
108108
conf.sda_io_num = sdaPin;
109109
conf.scl_io_num = sclPin;
110110
conf.sda_pullup_en = pullup ? GPIO_PULLUP_ENABLE : GPIO_PULLUP_DISABLE;
111-
conf.scl_pullup_en = pullup ? GPIO_PULLUP_ENABLE: GPIO_PULLUP_DISABLE;
111+
conf.scl_pullup_en = pullup ? GPIO_PULLUP_ENABLE : GPIO_PULLUP_DISABLE;
112112
conf.master.clk_speed = clockSpeed;
113113
esp_err_t errRc = ::i2c_param_config(m_portNum, &conf);
114114
if (errRc != ESP_OK) {

0 commit comments

Comments
 (0)
0