FreeCalypso > hg > fc-magnetite
changeset 418:f9e7fac0b437
.../lcds/D_Sample/r2d_task_i.c: minor cleanup
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 20 Jan 2018 20:03:48 +0000 |
parents | 706f4b71aceb |
children | 59143cd42ec7 |
files | src/cs/drivers/drv_app/r2d/lcds/D_Sample/r2d_task_i.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/r2d/lcds/D_Sample/r2d_task_i.c Sat Jan 20 18:56:35 2018 +0000 +++ b/src/cs/drivers/drv_app/r2d/lcds/D_Sample/r2d_task_i.c Sat Jan 20 20:03:48 2018 +0000 @@ -77,7 +77,8 @@ * Ideally, Epsom should provide a new GCP64 array to allow display of all * colors. a-hill@ti.com*/ - /*if(v!=0xffffffff) +#if 0 + if(v!=0xffffffff) { a = ((v&0xf8000000)>>1)&0xf8000000; @@ -89,7 +90,8 @@ f= ((v&0x0000001f)>>1)&0x0000001f; v = a|b|c|d|e|f; - }*/ + } +#endif LCD_data(v&0x0FFFF); LCD_data(v>>16); @@ -109,4 +111,4 @@ r2d_check_and_send_event(r2d_g_framebuffer); r2d_reinit_update_region(); -} \ No newline at end of file +}