Skip to content

Commit

Permalink
CLang format
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Nov 29, 2023
1 parent ffb3122 commit 1840b86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/i2c/WipperSnapper_I2C.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ bool WipperSnapper_Component_I2C::initI2CDevice(
WS_DEBUG_PRINTLN("LTR390 Initialized Successfully!");
} else if ((strcmp("ltr329", msgDeviceInitReq->i2c_device_name) == 0) ||
(strcmp("ltr303", msgDeviceInitReq->i2c_device_name) == 0)) {
_ltr329 = new WipperSnapper_I2C_Driver_LTR329_LTR303(this->_i2c, i2cAddress);
_ltr329 =
new WipperSnapper_I2C_Driver_LTR329_LTR303(this->_i2c, i2cAddress);
if (!_ltr329->begin()) {
WS_DEBUG_PRINTLN("ERROR: Failed to initialize LTR329/303");
_busStatusResponse =
Expand Down

0 comments on commit 1840b86

Please sign in to comment.