Merge eink-driver-layer Y-end fix

This commit is contained in:
Thomas Göttgens committed 2026-08-04 13:35:14 +02:00
commit bca0ff8a17
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ void SSD1682::configFullscreen()
const uint8_t sx = bufferOffsetX; // Notice the offset
const uint8_t sy = 0;
const uint8_t ex = bufferRowSize + bufferOffsetX - 1; // End is "max index", not "count". Minus 1 handles this
const uint8_t ey = height;
const uint8_t ey = height - 1; // Same: 0x45 Y-range is inclusive
// Data entry mode - Left to Right, Top to Bottom
sendCommand(0x11);
+1 -1
View File
@@ -144,7 +144,7 @@ void SSD16XX::configFullscreen()
const uint16_t sx = bufferOffsetX; // Notice the offset
const uint16_t sy = 0;
const uint16_t ex = bufferRowSize + bufferOffsetX - 1; // End is "max index", not "count". Minus 1 handles this
const uint16_t ey = height;
const uint16_t ey = height - 1; // Same: 0x45 Y-range is inclusive
// Split into bytes
const uint8_t sy1 = sy & 0xFF;