mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 18:22:32 +00:00
Rework isHighResolution to be an enum called ScreenResolution
This commit is contained in:
@@ -42,8 +42,9 @@ namespace graphics
|
||||
// Shared state (declare inside namespace)
|
||||
extern bool hasUnreadMessage;
|
||||
extern bool isMuted;
|
||||
extern bool isHighResolution;
|
||||
void determineResolution(int16_t screenheight, int16_t screenwidth);
|
||||
enum class ScreenResolution : uint8_t { UltraLow = 0, Low = 1, High = 2 };
|
||||
extern ScreenResolution currentResolution;
|
||||
ScreenResolution determineScreenResolution(int16_t screenheight, int16_t screenwidth);
|
||||
|
||||
void decomposeTime(uint32_t rtc_sec, int &hour, int &minute, int &second);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user