Skip to content

Commit 8fa6396

Browse files
authored
Update WipperSnapper_I2C_Driver_Out_Sh1107.h
1 parent 137c4a9 commit 8fa6396

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/i2c/drivers/WipperSnapper_I2C_Driver_Out_Sh1107.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#define WIPPERSNAPPER_I2C_DRIVER_OUT_SH1107_H
1818

1919
#include "WipperSnapper_I2C_Driver_Out.h"
20+
#include <Adafruit_GrayOLED.h>
2021
#include <Adafruit_SH110X.h>
2122
#include <Arduino.h>
2223

@@ -55,7 +56,7 @@ class WipperSnapper_I2C_Driver_Out_SH1107
5556
if (_display != nullptr) {
5657
_display->clearDisplay();
5758
_display->display();
58-
_display->sh1107_command(SH110X_DISPLAYOFF);
59+
_display->oled_command(SH110X_DISPLAYOFF);
5960
delete _display;
6061
_display = nullptr;
6162
}

0 commit comments

Comments
 (0)