Merge branch 'develop' into multi-message-Storage

This commit is contained in:
Jonathan Bennett
2025-11-30 21:34:10 -06:00
committed by GitHub
6 changed files with 113 additions and 8 deletions

View File

@@ -17,6 +17,12 @@ namespace graphics
void determineResolution(int16_t screenheight, int16_t screenwidth)
{
#ifdef FORCE_LOW_RES
isHighResolution = false;
return;
#endif
if (screenwidth > 128) {
isHighResolution = true;
}
@@ -24,11 +30,6 @@ void determineResolution(int16_t screenheight, int16_t screenwidth)
if (screenwidth > 128 && screenheight <= 64) {
isHighResolution = false;
}
// Special case for Heltec Wireless Tracker v1.1
if (screenwidth == 160 && screenheight == 80) {
isHighResolution = false;
}
}
void decomposeTime(uint32_t rtc_sec, int &hour, int &minute, int &second)