mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-04 04:40:50 +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 ===
|
// === 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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user