diff options
author | Dmytro Milinevskyy <milinevskyy@gmail.com> | 2013-04-05 00:00:58 +0200 |
---|---|---|
committer | Dmytro Milinevskyy <milinevskyy@gmail.com> | 2013-04-05 22:33:52 +0200 |
commit | d1448817cd4ade9adf993b4b10a91e06f9c26b34 (patch) | |
tree | 6009f946681fba0f9010e529a4674cf2f68b016b | |
parent | 2ad62e1ed76ec68ac7b32fd69ef7957e2506da00 (diff) | |
download | uGFX-d1448817cd4ade9adf993b4b10a91e06f9c26b34.tar.gz uGFX-d1448817cd4ade9adf993b4b10a91e06f9c26b34.tar.bz2 uGFX-d1448817cd4ade9adf993b4b10a91e06f9c26b34.zip |
[ILI9325] read LCD version
-rw-r--r-- | drivers/gdisp/ILI9325/gdisp_lld.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gdisp/ILI9325/gdisp_lld.c b/drivers/gdisp/ILI9325/gdisp_lld.c index 2344afe3..d101d1dd 100644 --- a/drivers/gdisp/ILI9325/gdisp_lld.c +++ b/drivers/gdisp/ILI9325/gdisp_lld.c @@ -151,6 +151,8 @@ bool_t gdisp_lld_init(void) { gdisp_lld_reset_pin(FALSE); lld_lcdDelay(1000); + DISPLAY_CODE = lld_lcdReadReg(0); + // chinese code starts here lld_lcdWriteReg(0x0000,0x0001); lld_lcdDelay(10); |