Skip to content

Commit 7df3ce2

Browse files
1 parent ae1ad62 commit 7df3ce2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/display/Arduino_ILI9341.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ void Arduino_ILI9341::writeAddrWindow(int16_t x, int16_t y, uint16_t w, uint16_t
5454
_currentX = x;
5555
_currentW = w;
5656
x += _xStart;
57-
_bus->writeC8D16D16(ILI9341_CASET, x, x + w - 1);
57+
_bus->writeC8D16D16Split(ILI9341_CASET, x, x + w - 1);
5858
}
5959

6060
if ((y != _currentY) || (h != _currentH))
6161
{
6262
_currentY = y;
6363
_currentH = h;
6464
y += _yStart;
65-
_bus->writeC8D16D16(ILI9341_PASET, y, y + h - 1);
65+
_bus->writeC8D16D16Split(ILI9341_PASET, y, y + h - 1);
6666
}
6767

6868
_bus->writeCommand(ILI9341_RAMWR); // write to RAM

0 commit comments

Comments
 (0)