mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-03 20:30:43 +00:00
Fixup determineResolution()
This commit is contained in:
parent
2f37204df2
commit
d3e56ea084
@ -472,6 +472,7 @@ void Screen::setup()
|
||||
|
||||
// === Turn on display and trigger first draw ===
|
||||
handleSetOn(true);
|
||||
determineResolution(dispdev->width(), dispdev->height());
|
||||
ui->update();
|
||||
#ifndef USE_EINK
|
||||
ui->update(); // Some SSD1306 clones drop the first draw, so run twice
|
||||
|
@ -26,7 +26,6 @@ void determineResolution(int16_t screenheight, int16_t screenwidth)
|
||||
bool hasUnreadMessage = false;
|
||||
bool isMuted = false;
|
||||
bool isHighResolution = false;
|
||||
determineResolution(160, 80);
|
||||
|
||||
// === Internal State ===
|
||||
bool isBoltVisibleShared = true;
|
||||
|
Loading…
Reference in New Issue
Block a user