From 6b8b8192961ff9602e4334668d075ee91793f7af Mon Sep 17 00:00:00 2001 From: programmingbgloDE Date: Sun, 7 Jul 2024 15:32:00 +0200 Subject: [PATCH] Fix Clang issues --- esphome/components/waveshare_epaper/waveshare_epaper.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/esphome/components/waveshare_epaper/waveshare_epaper.cpp b/esphome/components/waveshare_epaper/waveshare_epaper.cpp index f862d3b266..2a752ddbb4 100644 --- a/esphome/components/waveshare_epaper/waveshare_epaper.cpp +++ b/esphome/components/waveshare_epaper/waveshare_epaper.cpp @@ -645,7 +645,6 @@ static const uint8_t LUT_BLACK_TO_BLACK_2_7[42] = { }; void WaveshareEPaper2P7In::initialize() { - // command power setting this->command(0x01); this->data(0x03); // VDS_EN, VDG_EN @@ -838,7 +837,7 @@ void WaveshareEPaper1P54InBV2::initialize() { this->data(0x18); // 0x18-->(24+1)*8=200 this->command(0x45); // set Ram-Y address start/end position - this->data(0xC7); // 0xC7-->(199+1)=200 + this->data(0xC7); // 0xC7-->(199+1)=200 this->data(0x00); this->data(0x00); this->data(0x00); @@ -856,7 +855,6 @@ void WaveshareEPaper1P54InBV2::initialize() { this->data(0x00); this->wait_until_idle_(); - } void HOT WaveshareEPaper1P54InBV2::display() {