aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/SSD1289/gdisp_lld.c
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-08-20 21:01:50 +0200
committerTectu <joel@unormal.org>2012-08-20 21:01:50 +0200
commitbb6bad936a38b8ec893cc4a51cb2dcff95352c56 (patch)
tree54a2b8d55ada053b21288decca8937cf4c91a142 /drivers/gdisp/SSD1289/gdisp_lld.c
parentf9dd7d52f4061bcea2b6f99bb6530119f0432012 (diff)
downloaduGFX-bb6bad936a38b8ec893cc4a51cb2dcff95352c56.tar.gz
uGFX-bb6bad936a38b8ec893cc4a51cb2dcff95352c56.tar.bz2
uGFX-bb6bad936a38b8ec893cc4a51cb2dcff95352c56.zip
removed deviceCode readout of SSD1289
Diffstat (limited to 'drivers/gdisp/SSD1289/gdisp_lld.c')
-rw-r--r--drivers/gdisp/SSD1289/gdisp_lld.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gdisp/SSD1289/gdisp_lld.c b/drivers/gdisp/SSD1289/gdisp_lld.c
index 39c7334c..f9a25d84 100644
--- a/drivers/gdisp/SSD1289/gdisp_lld.c
+++ b/drivers/gdisp/SSD1289/gdisp_lld.c
@@ -73,8 +73,6 @@
* @notapi
*/
bool_t GDISP_LLD(init)(void) {
- uint16_t deviceCode;
-
#ifdef LCD_USE_FSMC
/* FSMC setup. TODO: this only works for STM32F1 */
rccEnableAHB(RCC_AHBENR_FSMCEN, 0);
@@ -94,8 +92,6 @@ bool_t GDISP_LLD(init)(void) {
FSMC_Bank1->BTCR[FSMC_Bank] = FSMC_BCR1_MWID_0 | FSMC_BCR1_WREN | FSMC_BCR1_MBKEN;
#endif
- deviceCode = lld_lcdReadReg(0x0000);
-
lld_lcdWriteReg(0x0000,0x0001); lld_lcdDelay(5);
lld_lcdWriteReg(0x0003,0xA8A4); lld_lcdDelay(5);
lld_lcdWriteReg(0x000C,0x0000); lld_lcdDelay(5);