diff --git a/esphome/components/waveshare_epaper/waveshare_epaper.h b/esphome/components/waveshare_epaper/waveshare_epaper.h index d4753d9dbe..6f909b5dc6 100644 --- a/esphome/components/waveshare_epaper/waveshare_epaper.h +++ b/esphome/components/waveshare_epaper/waveshare_epaper.h @@ -54,7 +54,7 @@ class WaveshareEPaper : public display::DisplayBuffer, virtual int get_width_controller() { return this->get_width_internal(); }; - virtual uint32_t get_buffer_length_(); + uint32_t get_buffer_length_(); uint32_t reset_duration_{200}; // Return the list of colors supported by the device @@ -75,7 +75,7 @@ class WaveshareEPaper : public display::DisplayBuffer, class WaveshareEPaperBWR : public WaveshareEPaper { public: - virtual std::vector get_supported_colors() override { return {display::COLOR_ON, Color(255, 0, 0, 0)}; } + std::vector get_supported_colors() override { return {display::COLOR_ON, Color(255, 0, 0, 0)}; } }; enum WaveshareEPaperTypeAModel {