comparison src/cs/drivers/drv_app/r2d/lcds/BW_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 945cf7f506b2
children
comparison
equal deleted inserted replaced
452:4d7c2ccb5814 453:96c047b4325e
8 { 8 {
9 } 9 }
10 10
11 void r2d_refresh(void) 11 void r2d_refresh(void)
12 { 12 {
13 #ifdef CONFIG_TARGET_DSAMPLE
13 UINT16 i,j,k; 14 UINT16 i,j,k;
14 15
15 16
16 17
17 UINT32 v; 18 UINT32 v;
69 i++; 70 i++;
70 71
71 } 72 }
72 //LCD_cmd(LCD_DISON); 73 //LCD_cmd(LCD_DISON);
73 LCD_deactivate; 74 LCD_deactivate;
75 #endif
74 76
75 77
76 r2d_reinit_update_region(); 78 r2d_reinit_update_region();
77 79
78 } 80 }