summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-03-17 03:36:36 +0000
committerThomas Martitz <kugel@rockbox.org>2009-03-17 03:36:36 +0000
commit4ed387d60313ac79fa7ac8b403bf3195f7c0c549 (patch)
treed5bc4861cbdde61b054d12deed4ffea92af03bd3 /firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
parent68f9ef2d575c4d6801730a0a8242227383d682f7 (diff)
downloadrockbox-4ed387d60313ac79fa7ac8b403bf3195f7c0c549.tar.gz
rockbox-4ed387d60313ac79fa7ac8b403bf3195f7c0c549.zip
Fix reds and yellows (hopefully). Some targets apparently didn't properly #ifdef lcd_enable and lcd_sleep code out, so that it got partly active in the bootloader; rename the ui simulator stub fixes most reds; for the clip: move the hook code into lcd-1bit-vert.c which should fix the bootloader red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20333 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c')
-rw-r--r--firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c b/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
index 8715622717..517aa6a979 100644
--- a/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
+++ b/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
@@ -321,6 +321,7 @@ void lcd_init_device(void)
321 _display_on(); 321 _display_on();
322} 322}
323 323
324#if defined(HAVE_LCD_ENABLE)
324void lcd_enable(bool on) 325void lcd_enable(bool on)
325{ 326{
326 if(display_on!=on) 327 if(display_on!=on)
@@ -337,16 +338,15 @@ void lcd_enable(bool on)
337 } 338 }
338 } 339 }
339} 340}
341#endif
340 342
343#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
341bool lcd_active(void) 344bool lcd_active(void)
342{ 345{
343 return display_on; 346 return display_on;
344} 347}
345 348
346void lcd_sleep(void) 349#endif
347{
348 /* TODO */
349}
350 350
351/*** update functions ***/ 351/*** update functions ***/
352 352