FreeCalypso > hg > tcs211-pirelli
diff chipsetsw/drivers/drv_app/r2d/lcds/D_Sample/r2d_task_init_i.c @ 19:8e7d4b264c73
pdt_2092: LCD output to RVTMUX implemented, hits RVT memory limits
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 06 Sep 2015 06:52:39 +0000 |
parents | 509db1a7b7b8 |
children |
line wrap: on
line diff
--- a/chipsetsw/drivers/drv_app/r2d/lcds/D_Sample/r2d_task_init_i.c Sun Sep 06 03:05:37 2015 +0000 +++ b/chipsetsw/drivers/drv_app/r2d/lcds/D_Sample/r2d_task_init_i.c Sun Sep 06 06:52:39 2015 +0000 @@ -7,6 +7,10 @@ #include "l1_types.h" #include "memif/mem.h" +/* FreeCalypso EXTUI mechanism */ +#include "rvt/rvt_gen.h" + +T_RVT_USER_ID extui_rvtmux_id; #define R2D_MB_PRIM_SIZE (4000) @@ -62,10 +66,11 @@ while (ms-- > 0) for (a=0;a<1000;a++) asm(" nop"); } - void r2d_refresh_task_init(void) +void r2d_refresh_task_init(void) { + rvt_register_id ("EXTUI", &extui_rvtmux_id, 0); -#ifndef _WINDOWS +#if 0 //#ifndef _WINDOWS UINT32 i; @@ -172,11 +177,12 @@ void r2d_lcd_off(void) { - +#if 0 LCD_cmd(LCD_DISOFF); //wait 70ms r2d_nop_delay(70); LCD_cmd(LCD_SLPIN); //wait 110ms r2d_nop_delay(110); +#endif }