Skip to content

Commit d784e8a

Browse files
committed
Clang
1 parent dd97c84 commit d784e8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/i2c/WipperSnapper_I2C.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,10 @@ bool WipperSnapper_Component_I2C::initI2CDevice(
852852
}
853853
_drivers_out.push_back(_quadAlphaNum);
854854
WS_DEBUG_PRINTLN("Quad Alphanum. Display Initialized Successfully!");
855-
} else if (strcmp("chardisplay16x2", msgDeviceInitReq->i2c_device_name) == 0 || strcmp("chardisplay20x4", msgDeviceInitReq->i2c_device_name) == 0) {
855+
} else if (strcmp("chardisplay16x2", msgDeviceInitReq->i2c_device_name) ==
856+
0 ||
857+
strcmp("chardisplay20x4", msgDeviceInitReq->i2c_device_name) ==
858+
0) {
856859
_charLcd = new WipperSnapper_I2C_Driver_Out_CharLcd(this->_i2c, i2cAddress);
857860
_charLcd->ConfigureCharLcd(
858861
msgDeviceInitReq->i2c_output_add.config.char_lcd_config.rows,

0 commit comments

Comments
 (0)