From 4d83d89ddd9d01555595ba108a836c5e2993d8c2 Mon Sep 17 00:00:00 2001 From: "Andrew J.Swan" Date: Mon, 9 Dec 2024 12:19:05 +0200 Subject: [PATCH] 2024.12.1: Cleanup code --- components/ehmtxv2/EHMTX.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/components/ehmtxv2/EHMTX.h b/components/ehmtxv2/EHMTX.h index 6135e29..7b513a9 100644 --- a/components/ehmtxv2/EHMTX.h +++ b/components/ehmtxv2/EHMTX.h @@ -1,9 +1,6 @@ #ifndef EHMTX_H #define EHMTX_H #include "esphome.h" -// #ifdef EHMTXv2_MULTICOLOR_TEXT -// #include -// #endif #define USE_Fireplugin #include "esphome/components/time/real_time_clock.h" @@ -365,9 +362,6 @@ namespace esphome PROGMEM Color text_color, progressbar_color, progressbar_back_color; PROGMEM std::string text; PROGMEM std::string icon_name; - // #ifdef EHMTXv2_MULTICOLOR_TEXT - // PROGMEM std::array charcolors; - // #endif #endif #ifdef USE_ESP8266 Color text_color, progressbar_color, progressbar_back_color; @@ -380,10 +374,6 @@ namespace esphome Color heatColor(uint8_t temperature); void status(); - // #ifdef EHMTXv2_MULTICOLOR_TEXT - // void multicolor(std::string text,Color c); - // #endif - void draw(); bool isfree(); bool update_slot(uint8_t _icon);