add standby for lcd_ili9803_cpt4_3
authorluowei <lw@rock-chips.com>
Wed, 23 Mar 2011 04:04:13 +0000 (12:04 +0800)
committerluowei <lw@rock-chips.com>
Wed, 23 Mar 2011 04:04:13 +0000 (12:04 +0800)
drivers/video/display/screen/lcd_ili9803_cpt4_3.c

index b41a8dc86257751565b5dae1ec0d7d36f5b5cf5a..b974a2614c539f3d84da31dffa7b60cb6faaf997 100755 (executable)
@@ -280,6 +280,7 @@ int init(void)
 \r
 int standby(u8 enable) //***enable =1 means suspend, 0 means resume \r
 {\r
+       int i;\r
 #if 1  \r
     if(gLcd_info)\r
         gLcd_info->io_init();\r
@@ -289,7 +290,7 @@ int standby(u8 enable)      //***enable =1 means suspend, 0 means resume
                spi_screenreg_param(0x0f);\r
        } else { \r
                CS_OUT() ;\r
-               for(int i=0;i<6;i++)\r
+               for(i=0; i<6; i++)\r
                {\r
                        CS_SET();\r
                        DRVDelayUs(1);\r