mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
Remove apparently useless command 0x92 on display
This commit is contained in:
parent
b0f6eb9828
commit
18d96f4d34
1 changed files with 2 additions and 3 deletions
|
@ -3165,14 +3165,13 @@ void WaveshareEPaper7In5BV2::configure() {
|
|||
|
||||
void HOT WaveshareEPaper7In5BV2::display() {
|
||||
uint32_t buf_len = this->get_buffer_length_();
|
||||
// COMMAND DATA START TRANSMISSION NEW DATA
|
||||
// COMMAND DATA START TRANSMISSION BLACK
|
||||
this->command(0x10);
|
||||
for (uint32_t i = 0; i < buf_len / 2; i++) {
|
||||
this->data(this->buffer_[i]);
|
||||
}
|
||||
this->command(0x92);
|
||||
|
||||
// COMMAND DATA START TRANSMISSION NEW DATA
|
||||
// COMMAND DATA START TRANSMISSION RED
|
||||
this->command(0x13);
|
||||
for (uint32_t i = buf_len / 2; i < buf_len; i++) {
|
||||
this->data(~this->buffer_[i]);
|
||||
|
|
Loading…
Reference in a new issue