Unverified Commit e8a00240 authored by Bodmer's avatar Bodmer Committed by GitHub

Fix issue #295

parent 11ef56d4
...@@ -2927,10 +2927,10 @@ void TFT_eSPI::readAddrWindow(int32_t xs, int32_t ys, int32_t w, int32_t h) ...@@ -2927,10 +2927,10 @@ void TFT_eSPI::readAddrWindow(int32_t xs, int32_t ys, int32_t w, int32_t h)
addr_row = 0xFFFF; addr_row = 0xFFFF;
#ifdef CGRAM_OFFSET #ifdef CGRAM_OFFSET
xs+=colstart; xs += colstart;
xe+=colstart; xe += colstart;
ys+=rowstart; ys += rowstart;
ye+=rowstart; ye += rowstart;
#endif #endif
// Column addr set // Column addr set
...@@ -2996,10 +2996,10 @@ void TFT_eSPI::readAddrWindow(int32_t xs, int32_t ys, int32_t w, int32_t h) ...@@ -2996,10 +2996,10 @@ void TFT_eSPI::readAddrWindow(int32_t xs, int32_t ys, int32_t w, int32_t h)
addr_row = 0xFFFF; addr_row = 0xFFFF;
#ifdef CGRAM_OFFSET #ifdef CGRAM_OFFSET
x0+=colstart; xs += colstart;
x1+=colstart; xe += colstart;
y0+=rowstart; ys += rowstart;
y1+=rowstart; ye += rowstart;
#endif #endif
// Column addr set // Column addr set
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment