@@ -881,10 +881,7 @@ 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 (" oled64x32default" , msgDeviceInitReq->i2c_device_name ) ==
885- 0 ||
886- strcmp (" oled64x32large" , msgDeviceInitReq->i2c_device_name ) == 0 ||
887- strcmp (" oled128x64wingdefault" ,
884+ } else if (strcmp (" oled128x64wingdefault" ,
888885 msgDeviceInitReq->i2c_device_name ) == 0 ||
889886 strcmp (" oled128x64winglarge" , msgDeviceInitReq->i2c_device_name ) ==
890887 0 ) {
@@ -905,7 +902,10 @@ bool WipperSnapper_Component_I2C::initI2CDevice(
905902 WS_DEBUG_PRINTLN (" SH1107 display configured successfully!" );
906903 _drivers_out.push_back (_sh1107);
907904 WS_DEBUG_PRINTLN (" SH1107 display initialized Successfully!" );
908- } else if (strcmp (" oled128x32wingdefault" ,
905+ } else if (strcmp (" oled64x32default" , msgDeviceInitReq->i2c_device_name ) ==
906+ 0 ||
907+ strcmp (" oled64x32large" , msgDeviceInitReq->i2c_device_name ) == 0 ||
908+ strcmp (" oled128x32wingdefault" ,
909909 msgDeviceInitReq->i2c_device_name ) == 0 ||
910910 strcmp (" oled128x32winglarge" , msgDeviceInitReq->i2c_device_name ) ==
911911 0 ||
0 commit comments