Skip to content

Commit

Permalink
Merge pull request #187 from andrewjswan/2023.9.1-Bugfix_for_force_an…
Browse files Browse the repository at this point in the history
…d_delete_screen_in_Advanced_Bitmap_mode

2023.9.1: Fix for force and delete screen in Advanced Bitmap mode
  • Loading branch information
lubeda authored Dec 27, 2023
2 parents ba28c22 + c6e8643 commit 16b4fe0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/ehmtxv2/EHMTX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,9 @@ namespace esphome
(mode == MODE_ICON_TEXT_SCREEN) ||
(mode == MODE_RAINBOW_ICON_TEXT_SCREEN) ||
(mode == MODE_TEXT_PROGRESS) ||
#ifdef EHMTXv2_ADV_BITMAP
(mode == MODE_BITMAP_SCREEN) ||
#endif
(mode == MODE_PROGNOSIS_SCREEN) )
{
if (strcmp(this->queue[i]->icon_name.c_str(), icon_name.c_str()) != 0)
Expand Down Expand Up @@ -1414,6 +1417,9 @@ namespace esphome
(mode == MODE_ICON_TEXT_SCREEN) ||
(mode == MODE_RAINBOW_ICON_TEXT_SCREEN) ||
(mode == MODE_TEXT_PROGRESS) ||
#ifdef EHMTXv2_ADV_BITMAP
(mode == MODE_BITMAP_SCREEN) ||
#endif
(mode == MODE_PROGNOSIS_SCREEN) )
{
if (this->string_has_ending(icon_name, "*"))
Expand Down

0 comments on commit 16b4fe0

Please sign in to comment.