File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -881,8 +881,8 @@ bool WipperSnapper_Component_I2C::initI2CDevice(
881881 }
882882 _drivers_out.push_back (_sevenSeg);
883883 WS_DEBUG_PRINTLN (" 7-Segement LED Matrix Initialized Successfully!" );
884- } else if (strcmp (" oled128x64wingdefault" , msgDeviceInitReq-> i2c_device_name ) ==
885- 0 ||
884+ } else if (strcmp (" oled128x64wingdefault" ,
885+ msgDeviceInitReq-> i2c_device_name ) == 0 ||
886886 strcmp (" oled128x64winglarge" , msgDeviceInitReq->i2c_device_name ) ==
887887 0 ) {
888888 WS_DEBUG_PRINTLN (" SH1107 display detected!" );
@@ -902,8 +902,8 @@ bool WipperSnapper_Component_I2C::initI2CDevice(
902902 WS_DEBUG_PRINTLN (" SH1107 display configured successfully!" );
903903 _drivers_out.push_back (_sh1107);
904904 WS_DEBUG_PRINTLN (" SH1107 display initialized Successfully!" );
905- } else if (strcmp (" oled128x32wingdefault" , msgDeviceInitReq-> i2c_device_name ) ==
906- 0 ||
905+ } else if (strcmp (" oled128x32wingdefault" ,
906+ msgDeviceInitReq-> i2c_device_name ) == 0 ||
907907 strcmp (" oled128x32winglarge" , msgDeviceInitReq->i2c_device_name ) ==
908908 0 ||
909909 strcmp (" oled128x32default" , msgDeviceInitReq->i2c_device_name ) ==
You can’t perform that action at this time.
0 commit comments