Fixup determineResolution()

This commit is contained in:
Jonathan Bennett 2025-06-22 19:37:35 -05:00
parent 2f37204df2
commit d3e56ea084
2 changed files with 1 additions and 1 deletions

View File

@ -472,6 +472,7 @@ void Screen::setup()
// === Turn on display and trigger first draw === // === Turn on display and trigger first draw ===
handleSetOn(true); handleSetOn(true);
determineResolution(dispdev->width(), dispdev->height());
ui->update(); ui->update();
#ifndef USE_EINK #ifndef USE_EINK
ui->update(); // Some SSD1306 clones drop the first draw, so run twice ui->update(); // Some SSD1306 clones drop the first draw, so run twice

View File

@ -26,7 +26,6 @@ void determineResolution(int16_t screenheight, int16_t screenwidth)
bool hasUnreadMessage = false; bool hasUnreadMessage = false;
bool isMuted = false; bool isMuted = false;
bool isHighResolution = false; bool isHighResolution = false;
determineResolution(160, 80);
// === Internal State === // === Internal State ===
bool isBoltVisibleShared = true; bool isBoltVisibleShared = true;