Skip to content

Commit

Permalink
Update waveshare_epaper.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixswiss committed Nov 24, 2023
1 parent 31c1fe1 commit ad5bd1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esphome/components/waveshare_epaper/waveshare_epaper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1385,7 +1385,7 @@ void WaveshareEPaper7P5InBV3::initialize() {

Check failure on line 1385 in esphome/components/waveshare_epaper/waveshare_epaper.cpp

View workflow job for this annotation

GitHub Actions / Run script/ci-custom

Trailing whitespace detected
// COMMAND PANEL SETTING
this->command(0x00);
this->data(0x2F); // KW-3f KWR-2F BWROTP 0f BWOTP 1f
this->data(0x0F); // KW-3f KWR-2F BWROTP 0f BWOTP 1f

// COMMAND RESOLUTION SETTING
this->command(0x61);
Expand Down Expand Up @@ -1499,7 +1499,7 @@ void HOT WaveshareEPaper7P5InBV3::display() {
this->command(0x10);
delay(2);
for (uint32_t i = 0; i < buf_len; i++) {
this->data(0x00);
this->data(~(this->buffer_[i]));
}

delay(2);
Expand All @@ -1515,7 +1515,7 @@ void HOT WaveshareEPaper7P5InBV3::display() {
this->command(0x13);
delay(2);
for (uint32_t i = 0; i < buf_len; i++) {
this->data(~(this->buffer_[i]));
this->data(0x00);
}

delay(100); // NOLINT
Expand Down

0 comments on commit ad5bd1a

Please sign in to comment.