diff --git a/esphome/components/display/display_buffer.h b/esphome/components/display/display_buffer.h index b7c4db56be..4b4228443f 100644 --- a/esphome/components/display/display_buffer.h +++ b/esphome/components/display/display_buffer.h @@ -25,7 +25,7 @@ class DisplayBuffer : public Display { protected: virtual void draw_absolute_pixel_internal(int x, int y, Color color) = 0; - void init_internal_(uint32_t buffer_length); + virtual void init_internal_(uint32_t buffer_length); uint8_t *buffer_{nullptr}; }; diff --git a/esphome/components/waveshare_epaper/waveshare_epaper.cpp b/esphome/components/waveshare_epaper/waveshare_epaper.cpp index 141fdd4b43..5e2d835a8b 100644 --- a/esphome/components/waveshare_epaper/waveshare_epaper.cpp +++ b/esphome/components/waveshare_epaper/waveshare_epaper.cpp @@ -2662,7 +2662,6 @@ void HOT WaveshareEPaper7P3InF::display() { this->wait_until_idle_(); ESP_LOGI(TAG, "Set the display to deep sleep"); - ESP_LOGE(TAG, "GO TO DEEP SLEEP"); this->command(0x07); this->data(0xA5); }