File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -879,7 +879,9 @@ bool WipperSnapper_Component_I2C::initI2CDevice(
879
879
_drivers_out.push_back (_sevenSeg);
880
880
WS_DEBUG_PRINTLN (" 7-Segement LED Matrix Initialized Successfully!" );
881
881
} else if (strcmp (" oled128x32default" , msgDeviceInitReq->i2c_device_name ) ==
882
- 0 ) {
882
+ 0 ||
883
+ strcmp (" oled128x32large" , msgDeviceInitReq->i2c_device_name ) ==
884
+ 0 ) {
883
885
WS_DEBUG_PRINTLN (" SSD1306 display detected!" );
884
886
_ssd1306 = new WipperSnapper_I2C_Driver_Out_Ssd1306 (this ->_i2c , i2cAddress);
885
887
WS_DEBUG_PRINTLN (" Configuring SSD1306 display..." );
Original file line number Diff line number Diff line change @@ -117,7 +117,6 @@ class WipperSnapper_I2C_Driver_Out_Ssd1306
117
117
int16_t line_height = 8 * _text_sz;
118
118
uint16_t c_idx = 0 ;
119
119
size_t msg_size = strlen (message);
120
- // _display->cp437(true);
121
120
for (size_t i = 0 ; i < msg_size && c_idx < msg_size; i++) {
122
121
if (message[i] == ' \\ ' && i + 1 < msg_size && message[i + 1 ] == ' n' ) {
123
122
// detected a newline char sequence (\n)
You can’t perform that action at this time.
0 commit comments