From c81fd372aa0f6c245d1df197cdd1ee9cd49f0bb0 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 6 Apr 2024 17:43:54 +0200 Subject: [PATCH] Bug fix --- esphome/components/display/display_buffer.h | 2 +- esphome/components/waveshare_epaper/waveshare_epaper.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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); }