comparison src/cs/drivers/drv_app/r2d/lcds/D_Sample/r2d_task_i.c @ 453:96c047b4325e

R2D D-Sample drivers: only do the actual hw pokes when CONFIG_TARGET_DSAMPLE
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 15 Mar 2018 05:48:03 +0000
parents f9e7fac0b437
children
comparison
equal deleted inserted replaced
452:4d7c2ccb5814 453:96c047b4325e
13 13
14 void r2d_refresh(void) 14 void r2d_refresh(void)
15 { 15 {
16 UINT16 i,j; 16 UINT16 i,j;
17 17
18 #ifndef _WINDOWS 18 #ifdef CONFIG_TARGET_DSAMPLE
19 19
20 UINT32 v; 20 UINT32 v;
21 UINT32 *p; 21 UINT32 *p;
22 INT16 x1,x2,y1,y2,de,ds; 22 INT16 x1,x2,y1,y2,de,ds;
23 UINT32 a,b,c,d,e,f; 23 UINT32 a,b,c,d,e,f;