clangz
This commit is contained in:
parent
ded7afe186
commit
af992ff9da
1 changed files with 1 additions and 3 deletions
|
|
@ -151,7 +151,6 @@ bool Adafruit_SH1107::begin(uint8_t addr, bool reset) {
|
|||
splash2_data, splash2_width, splash2_height, 1);
|
||||
}
|
||||
|
||||
|
||||
// Init sequence, make sure its under 32 bytes, or split into multiples!
|
||||
// clang-format off
|
||||
static const uint8_t init[] = {
|
||||
|
|
@ -180,8 +179,7 @@ bool Adafruit_SH1107::begin(uint8_t addr, bool reset) {
|
|||
|
||||
if (WIDTH == 128 && HEIGHT == 128) {
|
||||
static const uint8_t init_128x128[] = {
|
||||
SH110X_SETDISPLAYOFFSET, 0x00,
|
||||
SH110X_SETMULTIPLEX, 0x7F, // 0xa8, 0x3f,
|
||||
SH110X_SETDISPLAYOFFSET, 0x00, SH110X_SETMULTIPLEX, 0x7F, // 0xa8, 0x3f,
|
||||
};
|
||||
if (!oled_commandList(init_128x128, sizeof(init_128x128))) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue