From 4c4bce2447179e63696a63999dc85b4916484e8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Grol=C3=A9at?= Date: Sun, 18 Aug 2024 00:14:36 +0200 Subject: [PATCH] clang tidy --- esphome/components/waveshare_epaper/waveshare_epaper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {