From e4e2e112dc163f93e0e7b1144fe9b0cf3a4286e0 Mon Sep 17 00:00:00 2001 From: prenticedavid Date: Mon, 1 May 2017 09:36:48 +0100 Subject: [PATCH] Revert "fix HX8347 readGRAM" This reverts commit b311277077e9ef7ee43634c5125abbbc48cd9c25. --- MCUFRIEND_kbv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCUFRIEND_kbv.cpp b/MCUFRIEND_kbv.cpp index 1800198..ceb5f32 100644 --- a/MCUFRIEND_kbv.cpp +++ b/MCUFRIEND_kbv.cpp @@ -254,7 +254,7 @@ int16_t MCUFRIEND_kbv::readGRAM(int16_t x, int16_t y, uint16_t * block, int16_t uint16_t ret, dummy, _MR = _MW; int16_t n = w * h, row = 0, col = 0; uint8_t r, g, b, tmp; - if (!is8347 && _lcd_capable & MIPI_DCS_REV1) + if (_lcd_capable & MIPI_DCS_REV1) _MR = 0x2E; setAddrWindow(x, y, x + w - 1, y + h - 1); while (n > 0) {