Skip to content

Commit

Permalink
Merge pull request #213 from andrewjswan/2024.1.0-Fix_for_BITMAP_SMAL…
Browse files Browse the repository at this point in the history
…L_screen_when_delete

2024.1.0: Fix for BITMAP SMALL screen in delete screen function
  • Loading branch information
lubeda authored Feb 21, 2024
2 parents 8df7597 + df219ed commit e1115c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/ehmtxv2/EHMTX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1575,6 +1575,8 @@ namespace esphome
(mode == MODE_ICON_TEXT_SCREEN) ||
(mode == MODE_RAINBOW_ICON_TEXT_SCREEN) ||
(mode == MODE_TEXT_PROGRESS) ||
(mode == MODE_BITMAP_SMALL) ||
(mode == MODE_RAINBOW_BITMAP_SMALL) ||
#ifdef EHMTXv2_ADV_BITMAP
(mode == MODE_BITMAP_SCREEN) ||
#endif
Expand All @@ -1594,6 +1596,7 @@ namespace esphome
force = false;
}
}

if (force)
{
ESP_LOGW(TAG, "del_screen: slot %d deleted", i);
Expand Down

0 comments on commit e1115c8

Please sign in to comment.