From bd573fbef19fd1a9e28c95e248d1279ad706ae75 Mon Sep 17 00:00:00 2001 From: Kumar Abhishek Date: Tue, 12 Jun 2012 18:06:06 +0530 Subject: Changes in the Text Rendering API The code now uses my API Pls contact for further documentation --- drivers/s6d1121_lld.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'drivers/s6d1121_lld.c') diff --git a/drivers/s6d1121_lld.c b/drivers/s6d1121_lld.c index 18531aeb..aa13169e 100644 --- a/drivers/s6d1121_lld.c +++ b/drivers/s6d1121_lld.c @@ -40,7 +40,7 @@ inline void lld_lcdwrite(uint16_t db) } static __inline uint16_t lcdReadData(void) { - uint16_t value; + uint16_t value=0; LCD_RS_HIGH; LCD_WR_HIGH; @@ -83,21 +83,15 @@ static __inline uint16_t lcdReadReg(uint16_t lcdReg) { } void lcdWriteIndex(uint16_t lcdReg) { - LCD_CS_LOW; LCD_RS_LOW; lld_lcdwrite(lcdReg); LCD_RS_HIGH; - LCD_CS_HIGH; } void lcdWriteData(uint16_t lcdData) { - LCD_CS_LOW; - lld_lcdwrite(lcdData); - - LCD_CS_HIGH; } void lcdWriteReg(uint16_t lcdReg, uint16_t lcdRegValue) { -- cgit v1.2.3