Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P095-add-extra-display-types

This commit is contained in:
Ton Huisman
2022-05-18 20:29:55 +02:00
16 changed files with 155 additions and 146 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ class SH1106Wire : public OLEDDisplay {
// If the minBoundY wasn't updated
// we can savely assume that buffer_back[pos] == buffer[pos]
// holdes true for all values of pos
if (minBoundY == ~0) return;
if (minBoundY == static_cast<uint8_t>(~0)) return;
// Calculate the colum offset
uint8_t minBoundXp2H = (minBoundX + 2) & 0x0F;