Remove apparently useless command 0x92 on display

This commit is contained in:
Tristan Groléat 2024-01-18 19:54:08 +01:00
parent b0f6eb9828
commit 18d96f4d34

View File

@ -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]);