add standby for lcd_ili9803_cpt4_3

This commit is contained in:
luowei
2011-03-23 12:04:13 +08:00
parent 3f45c08ed4
commit 297b80bcc1

View File

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