Skip to content

Commit 95e594d

Browse files
authored
Update WipperSnapper_I2C_Driver_Out_Sh1107.h
1 parent 879a8ed commit 95e594d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/i2c/drivers/WipperSnapper_I2C_Driver_Out_Sh1107.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ class WipperSnapper_I2C_Driver_Out_SH1107
7575
// Show image buffer on the display hardware.
7676
// Since the buffer is intialized with an Adafruit splashscreen
7777
// internally, this will display the splashscreen.
78-
_display.display();
78+
_display->display();
7979
delay(700);
8080

8181
// Clear the buffer.
82-
_display.clearDisplay();
83-
_display.display();
84-
_display.setRotation(1);
82+
_display->clearDisplay();
83+
_display->display();
84+
_display->setRotation(1);
8585

8686
// Configure the text size and color
8787
_display->setTextSize(_text_sz);

0 commit comments

Comments
 (0)