diff options
author | Dmytro Milinevskyy <milinevskyy@gmail.com> | 2013-04-04 23:59:41 +0200 |
---|---|---|
committer | Dmytro Milinevskyy <milinevskyy@gmail.com> | 2013-04-04 23:59:41 +0200 |
commit | 2ad62e1ed76ec68ac7b32fd69ef7957e2506da00 (patch) | |
tree | 85d6ac55577cf0f6c73ab6fc0836f5897ea78b7c /drivers/gdisp | |
parent | 55d41fe007e34d67737ca9abd11fb7ce2cc46bbc (diff) | |
download | uGFX-2ad62e1ed76ec68ac7b32fd69ef7957e2506da00.tar.gz uGFX-2ad62e1ed76ec68ac7b32fd69ef7957e2506da00.tar.bz2 uGFX-2ad62e1ed76ec68ac7b32fd69ef7957e2506da00.zip |
[ILI9320/ILI9325] use correct lld accessor to read the data from the LCD
Diffstat (limited to 'drivers/gdisp')
-rw-r--r-- | drivers/gdisp/ILI9320/gdisp_lld.c | 4 | ||||
-rw-r--r-- | drivers/gdisp/ILI9325/gdisp_lld.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/drivers/gdisp/ILI9320/gdisp_lld.c b/drivers/gdisp/ILI9320/gdisp_lld.c index f4ff05d5..9daab02e 100644 --- a/drivers/gdisp/ILI9320/gdisp_lld.c +++ b/drivers/gdisp/ILI9320/gdisp_lld.c @@ -94,9 +94,7 @@ static inline void lld_lcdWriteReg(uint16_t lcdReg, uint16_t lcdRegValue) { } static inline uint16_t lld_lcdReadData(void) { - /* fix this! */ - //return gdisp_lld_read_data; - return GDISP_RAM; + return gdisp_lld_read_data(); } static inline uint16_t lld_lcdReadReg(uint16_t lcdReg) { diff --git a/drivers/gdisp/ILI9325/gdisp_lld.c b/drivers/gdisp/ILI9325/gdisp_lld.c index 88dd4ade..2344afe3 100644 --- a/drivers/gdisp/ILI9325/gdisp_lld.c +++ b/drivers/gdisp/ILI9325/gdisp_lld.c @@ -94,9 +94,7 @@ static inline void lld_lcdWriteReg(uint16_t lcdReg, uint16_t lcdRegValue) { } static inline uint16_t lld_lcdReadData(void) { - /* fix this! */ - //return gdisp_lld_read_data; - return GDISP_RAM; + return gdisp_lld_read_data(); } static inline uint16_t lld_lcdReadReg(uint16_t lcdReg) { |